Sfoglia il codice sorgente

Refactoring repository

feature/ticket
Fab 3 anni fa
parent
commit
eb17e91939
36 ha cambiato i file con 765 aggiunte e 0 eliminazioni
  1. +21
    -0
      Repository/Address/AddressRepository.php
  2. +21
    -0
      Repository/Common/TaxRateRepository.php
  3. +21
    -0
      Repository/Common/UnitRepository.php
  4. +21
    -0
      Repository/Credit/CreditConfigRepository.php
  5. +21
    -0
      Repository/Credit/CreditHistoryRepository.php
  6. +21
    -0
      Repository/Merchant/MerchantConfigRepository.php
  7. +21
    -0
      Repository/Merchant/MerchantRepository.php
  8. +21
    -0
      Repository/Newsletter/NewsletterRepository.php
  9. +21
    -0
      Repository/Order/OrderPaymentRepository.php
  10. +21
    -0
      Repository/Order/OrderProductReductionCatalogRepository.php
  11. +21
    -0
      Repository/Order/OrderProductRefundRepository.php
  12. +21
    -0
      Repository/Order/OrderProductRepository.php
  13. +21
    -0
      Repository/Order/OrderReductionCartRepository.php
  14. +21
    -0
      Repository/Order/OrderReductionCreditRepository.php
  15. +21
    -0
      Repository/Order/OrderRefundRepository.php
  16. +21
    -0
      Repository/Order/OrderShopRepository.php
  17. +21
    -0
      Repository/Order/OrderStatusHistoryRepository.php
  18. +21
    -0
      Repository/Order/OrderStatusRepository.php
  19. +21
    -0
      Repository/PointSale/PointSaleDayInfoRepository.php
  20. +21
    -0
      Repository/PointSale/PointSaleRepository.php
  21. +21
    -0
      Repository/Product/ProductCategoryRepository.php
  22. +21
    -0
      Repository/Product/ProductFamilyRepository.php
  23. +21
    -0
      Repository/Product/ProductRepository.php
  24. +21
    -0
      Repository/Reduction/ReductionCartRepository.php
  25. +21
    -0
      Repository/Reduction/ReductionCatalogRepository.php
  26. +21
    -0
      Repository/Reduction/ReductionCreditRepository.php
  27. +21
    -0
      Repository/Reminder/ReminderRepository.php
  28. +21
    -0
      Repository/Section/SectionRepository.php
  29. +22
    -0
      Repository/Site/NewsRepository.php
  30. +23
    -0
      Repository/Site/PageRepository.php
  31. +22
    -0
      Repository/Ticket/TicketMessageRepository.php
  32. +22
    -0
      Repository/Ticket/TicketRepository.php
  33. +22
    -0
      Repository/User/GroupUserRepository.php
  34. +22
    -0
      Repository/User/UserMerchantRepository.php
  35. +22
    -0
      Repository/User/UserPointSaleRepository.php
  36. +22
    -0
      Repository/User/VisitorRepository.php

+ 21
- 0
Repository/Address/AddressRepository.php Vedi File

@@ -0,0 +1,21 @@
<?php

namespace Lc\CaracoleBundle\Repository\Address;

use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Address\AddressInterface;

/**
* @method AddressInterface|null find($id, $lockMode = null, $lockVersion = null)
* @method AddressInterface|null findOneBy(array $criteria, array $orderBy = null)
* @method AddressInterface[] findAll()
* @method AddressInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class AddressRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, AddressInterface::class);
}
}

+ 21
- 0
Repository/Common/TaxRateRepository.php Vedi File

@@ -0,0 +1,21 @@
<?php

namespace Lc\CaracoleBundle\Repository\Common;

use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Common\TaxRateInterface;

/**
* @method TaxRateInterface|null find($id, $lockMode = null, $lockVersion = null)
* @method TaxRateInterface|null findOneBy(array $criteria, array $orderBy = null)
* @method TaxRateInterface[] findAll()
* @method TaxRateInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class TaxRateRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, TaxRateInterface::class);
}
}

+ 21
- 0
Repository/Common/UnitRepository.php Vedi File

@@ -0,0 +1,21 @@
<?php

namespace Lc\CaracoleBundle\Repository\Common;

use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Common\UnitInterface;

/**
* @method UnitInterface|null find($id, $lockMode = null, $lockVersion = null)
* @method UnitInterface|null findOneBy(array $criteria, array $orderBy = null)
* @method UnitInterface[] findAll()
* @method UnitInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class UnitRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, UnitInterface::class);
}
}

+ 21
- 0
Repository/Credit/CreditConfigRepository.php Vedi File

@@ -0,0 +1,21 @@
<?php

namespace Lc\CaracoleBundle\Repository\Credit;

use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Credit\CreditConfigInterface;

/**
* @method CreditConfigInterface|null find($id, $lockMode = null, $lockVersion = null)
* @method CreditConfigInterface|null findOneBy(array $criteria, array $orderBy = null)
* @method CreditConfigInterface[] findAll()
* @method CreditConfigInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class CreditConfigRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, CreditConfigInterface::class);
}
}

+ 21
- 0
Repository/Credit/CreditHistoryRepository.php Vedi File

@@ -0,0 +1,21 @@
<?php

namespace Lc\CaracoleBundle\Repository\Credit;

use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Credit\CreditHistoryInterface;

/**
* @method CreditHistoryInterface|null find($id, $lockMode = null, $lockVersion = null)
* @method CreditHistoryInterface|null findOneBy(array $criteria, array $orderBy = null)
* @method CreditHistoryInterface[] findAll()
* @method CreditHistoryInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class CreditHistoryRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, CreditHistoryInterface::class);
}
}

+ 21
- 0
Repository/Merchant/MerchantConfigRepository.php Vedi File

@@ -0,0 +1,21 @@
<?php

namespace Lc\CaracoleBundle\Repository\Merchant;

use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Merchant\MerchantConfigInterface;

/**
* @method MerchantConfigInterface|null find($id, $lockMode = null, $lockVersion = null)
* @method MerchantConfigInterface|null findOneBy(array $criteria, array $orderBy = null)
* @method MerchantConfigInterface[] findAll()
* @method MerchantConfigInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class MerchantConfigRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, MerchantConfigInterface::class);
}
}

+ 21
- 0
Repository/Merchant/MerchantRepository.php Vedi File

@@ -0,0 +1,21 @@
<?php

namespace Lc\CaracoleBundle\Repository\Merchant;

use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Merchant\MerchantInterface;

/**
* @method MerchantInterface|null find($id, $lockMode = null, $lockVersion = null)
* @method MerchantInterface|null findOneBy(array $criteria, array $orderBy = null)
* @method MerchantInterface[] findAll()
* @method MerchantInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class MerchantRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, MerchantInterface::class);
}
}

+ 21
- 0
Repository/Newsletter/NewsletterRepository.php Vedi File

@@ -0,0 +1,21 @@
<?php

namespace Lc\CaracoleBundle\Repository\Newsletter;

use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Newsletter\NewsletterInterface;

/**
* @method NewsletterInterface|null find($id, $lockMode = null, $lockVersion = null)
* @method NewsletterInterface|null findOneBy(array $criteria, array $orderBy = null)
* @method NewsletterInterface[] findAll()
* @method NewsletterInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class NewsletterRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, NewsletterInterface::class);
}
}

+ 21
- 0
Repository/Order/OrderPaymentRepository.php Vedi File

@@ -0,0 +1,21 @@
<?php

namespace Lc\CaracoleBundle\Repository\Order;

use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Order\OrderPaymentInterface;

/**
* @method OrderPaymentInterface|null find($id, $lockMode = null, $lockVersion = null)
* @method OrderPaymentInterface|null findOneBy(array $criteria, array $orderBy = null)
* @method OrderPaymentInterface[] findAll()
* @method OrderPaymentInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class OrderPaymentRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, OrderPaymentInterface::class);
}
}

+ 21
- 0
Repository/Order/OrderProductReductionCatalogRepository.php Vedi File

@@ -0,0 +1,21 @@
<?php

namespace Lc\CaracoleBundle\Repository\Order;

use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Order\OrderProductReductionCatalogInterface;

/**
* @method OrderProductReductionCatalogInterface|null find($id, $lockMode = null, $lockVersion = null)
* @method OrderProductReductionCatalogInterface|null findOneBy(array $criteria, array $orderBy = null)
* @method OrderProductReductionCatalogInterface[] findAll()
* @method OrderProductReductionCatalogInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class OrderProductReductionCatalogRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, OrderProductReductionCatalogInterface::class);
}
}

+ 21
- 0
Repository/Order/OrderProductRefundRepository.php Vedi File

@@ -0,0 +1,21 @@
<?php

namespace Lc\CaracoleBundle\Repository\Order;

use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Order\OrderRefundInterface;

/**
* @method OrderRefundInterface|null find($id, $lockMode = null, $lockVersion = null)
* @method OrderRefundInterface|null findOneBy(array $criteria, array $orderBy = null)
* @method OrderRefundInterface[] findAll()
* @method OrderRefundInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class OrderProductRefundRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, OrderRefundInterface::class);
}
}

+ 21
- 0
Repository/Order/OrderProductRepository.php Vedi File

@@ -0,0 +1,21 @@
<?php

namespace Lc\CaracoleBundle\Repository\Order;

use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Order\OrderProductInterface;

/**
* @method OrderProductInterface|null find($id, $lockMode = null, $lockVersion = null)
* @method OrderProductInterface|null findOneBy(array $criteria, array $orderBy = null)
* @method OrderProductInterface[] findAll()
* @method OrderProductInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class OrderProductRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, OrderProductInterface::class);
}
}

+ 21
- 0
Repository/Order/OrderReductionCartRepository.php Vedi File

@@ -0,0 +1,21 @@
<?php

namespace Lc\CaracoleBundle\Repository\Order;

use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Order\OrderReductionCartInterface;

/**
* @method OrderReductionCartInterface|null find($id, $lockMode = null, $lockVersion = null)
* @method OrderReductionCartInterface|null findOneBy(array $criteria, array $orderBy = null)
* @method OrderReductionCartInterface[] findAll()
* @method OrderReductionCartInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class OrderReductionCartRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, OrderReductionCartInterface::class);
}
}

+ 21
- 0
Repository/Order/OrderReductionCreditRepository.php Vedi File

@@ -0,0 +1,21 @@
<?php

namespace Lc\CaracoleBundle\Repository\Order;

use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Order\OrderReductionCreditInterface;

/**
* @method OrderReductionCreditInterface|null find($id, $lockMode = null, $lockVersion = null)
* @method OrderReductionCreditInterface|null findOneBy(array $criteria, array $orderBy = null)
* @method OrderReductionCreditInterface[] findAll()
* @method OrderReductionCreditInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class OrderReductionCreditRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, OrderReductionCreditInterface::class);
}
}

+ 21
- 0
Repository/Order/OrderRefundRepository.php Vedi File

@@ -0,0 +1,21 @@
<?php

namespace Lc\CaracoleBundle\Repository\Order;

use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Order\OrderRefundInterface;

/**
* @method OrderRefundInterface|null find($id, $lockMode = null, $lockVersion = null)
* @method OrderRefundInterface|null findOneBy(array $criteria, array $orderBy = null)
* @method OrderRefundInterface[] findAll()
* @method OrderRefundInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class OrderRefundRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, OrderRefundInterface::class);
}
}

+ 21
- 0
Repository/Order/OrderShopRepository.php Vedi File

@@ -0,0 +1,21 @@
<?php

namespace Lc\CaracoleBundle\Repository\Order;

use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Order\OrderShopInterface;

/**
* @method OrderShopInterface|null find($id, $lockMode = null, $lockVersion = null)
* @method OrderShopInterface|null findOneBy(array $criteria, array $orderBy = null)
* @method OrderShopInterface[] findAll()
* @method OrderShopInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class OrderShopRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, OrderShopInterface::class);
}
}

+ 21
- 0
Repository/Order/OrderStatusHistoryRepository.php Vedi File

@@ -0,0 +1,21 @@
<?php

namespace Lc\CaracoleBundle\Repository\Order;

use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Order\OrderStatusHistoryInterface;

/**
* @method OrderStatusHistoryInterface|null find($id, $lockMode = null, $lockVersion = null)
* @method OrderStatusHistoryInterface|null findOneBy(array $criteria, array $orderBy = null)
* @method OrderStatusHistoryInterface[] findAll()
* @method OrderStatusHistoryInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class OrderStatusHistoryRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, OrderStatusHistoryInterface::class);
}
}

+ 21
- 0
Repository/Order/OrderStatusRepository.php Vedi File

@@ -0,0 +1,21 @@
<?php

namespace Lc\CaracoleBundle\Repository\Order;

use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Order\OrderStatusInterface;

/**
* @method OrderStatusInterface|null find($id, $lockMode = null, $lockVersion = null)
* @method OrderStatusInterface|null findOneBy(array $criteria, array $orderBy = null)
* @method OrderStatusInterface[] findAll()
* @method OrderStatusInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class OrderStatusRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, OrderStatusInterface::class);
}
}

+ 21
- 0
Repository/PointSale/PointSaleDayInfoRepository.php Vedi File

@@ -0,0 +1,21 @@
<?php

namespace Lc\CaracoleBundle\Repository\PointSale;

use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\PointSale\PointSaleDayInfoInterface;

/**
* @method PointSaleDayInfoInterface|null find($id, $lockMode = null, $lockVersion = null)
* @method PointSaleDayInfoInterface|null findOneBy(array $criteria, array $orderBy = null)
* @method PointSaleDayInfoInterface[] findAll()
* @method PointSaleDayInfoInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class PointSaleDayInfoRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, PointSaleDayInfoInterface::class);
}
}

+ 21
- 0
Repository/PointSale/PointSaleRepository.php Vedi File

@@ -0,0 +1,21 @@
<?php

namespace Lc\CaracoleBundle\Repository\PointSale;

use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\PointSale\PointSaleInterface;

/**
* @method PointSaleInterface|null find($id, $lockMode = null, $lockVersion = null)
* @method PointSaleInterface|null findOneBy(array $criteria, array $orderBy = null)
* @method PointSaleInterface[] findAll()
* @method PointSaleInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class PointSaleRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, PointSaleInterface::class);
}
}

+ 21
- 0
Repository/Product/ProductCategoryRepository.php Vedi File

@@ -0,0 +1,21 @@
<?php

namespace Lc\CaracoleBundle\Repository\Product;

use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Product\ProductCategoryInterface;

/**
* @method ProductCategoryInterface|null find($id, $lockMode = null, $lockVersion = null)
* @method ProductCategoryInterface|null findOneBy(array $criteria, array $orderBy = null)
* @method ProductCategoryInterface[] findAll()
* @method ProductCategoryInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class ProductCategoryRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, ProductCategoryInterface::class);
}
}

+ 21
- 0
Repository/Product/ProductFamilyRepository.php Vedi File

@@ -0,0 +1,21 @@
<?php

namespace Lc\CaracoleBundle\Repository\Product;

use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Product\ProductFamilyInterface;

/**
* @method ProductFamilyInterface|null find($id, $lockMode = null, $lockVersion = null)
* @method ProductFamilyInterface|null findOneBy(array $criteria, array $orderBy = null)
* @method ProductFamilyInterface[] findAll()
* @method ProductFamilyInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class ProductFamilyRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, ProductFamilyInterface::class);
}
}

+ 21
- 0
Repository/Product/ProductRepository.php Vedi File

@@ -0,0 +1,21 @@
<?php

namespace Lc\CaracoleBundle\Repository\Product;

use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Product\ProductInterface;

/**
* @method ProductInterface|null find($id, $lockMode = null, $lockVersion = null)
* @method ProductInterface|null findOneBy(array $criteria, array $orderBy = null)
* @method ProductInterface[] findAll()
* @method ProductInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class ProductRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, ProductInterface::class);
}
}

+ 21
- 0
Repository/Reduction/ReductionCartRepository.php Vedi File

@@ -0,0 +1,21 @@
<?php

namespace Lc\CaracoleBundle\Repository\Reduction;

use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Reduction\ReductionCartInterface;

/**
* @method ReductionCartInterface|null find($id, $lockMode = null, $lockVersion = null)
* @method ReductionCartInterface|null findOneBy(array $criteria, array $orderBy = null)
* @method ReductionCartInterface[] findAll()
* @method ReductionCartInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class ReductionCartRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, ReductionCartInterface::class);
}
}

+ 21
- 0
Repository/Reduction/ReductionCatalogRepository.php Vedi File

@@ -0,0 +1,21 @@
<?php

namespace Lc\CaracoleBundle\Repository\Reduction;

use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Reduction\ReductionCatalogInterface;

/**
* @method ReductionCatalogInterface|null find($id, $lockMode = null, $lockVersion = null)
* @method ReductionCatalogInterface|null findOneBy(array $criteria, array $orderBy = null)
* @method ReductionCatalogInterface[] findAll()
* @method ReductionCatalogInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class ReductionCatalogRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, ReductionCatalogInterface::class);
}
}

+ 21
- 0
Repository/Reduction/ReductionCreditRepository.php Vedi File

@@ -0,0 +1,21 @@
<?php

namespace Lc\CaracoleBundle\Repository\Reduction;

use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Reduction\ReductionCreditInterface;

/**
* @method ReductionCreditInterface|null find($id, $lockMode = null, $lockVersion = null)
* @method ReductionCreditInterface|null findOneBy(array $criteria, array $orderBy = null)
* @method ReductionCreditInterface[] findAll()
* @method ReductionCreditInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class ReductionCreditRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, ReductionCreditInterface::class);
}
}

+ 21
- 0
Repository/Reminder/ReminderRepository.php Vedi File

@@ -0,0 +1,21 @@
<?php

namespace Lc\CaracoleBundle\Repository\Reminder;

use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Reminder\ReminderInterface;

/**
* @method ReminderInterface|null find($id, $lockMode = null, $lockVersion = null)
* @method ReminderInterface|null findOneBy(array $criteria, array $orderBy = null)
* @method ReminderInterface[] findAll()
* @method ReminderInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class ReminderRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, ReminderInterface::class);
}
}

+ 21
- 0
Repository/Section/SectionRepository.php Vedi File

@@ -0,0 +1,21 @@
<?php

namespace Lc\CaracoleBundle\Repository\Section;

use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
use Lc\CaracoleBundle\Model\Section\SectionInterface;

/**
* @method SectionInterface|null find($id, $lockMode = null, $lockVersion = null)
* @method SectionInterface|null findOneBy(array $criteria, array $orderBy = null)
* @method SectionInterface[] findAll()
* @method SectionInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class SectionRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, SectionInterface::class);
}
}

+ 22
- 0
Repository/Site/NewsRepository.php Vedi File

@@ -0,0 +1,22 @@
<?php

namespace Lc\CaracoleBundle\Repository\Site;

use Lc\CaracoleBundle\Model\Site\NewsInterface;
use Lc\SovBundle\Repository\AbstractRepository;

/**
* @method NewsInterface|null find($id, $lockMode = null, $lockVersion = null)
* @method NewsInterface|null findOneBy(array $criteria, array $orderBy = null)
* @method NewsInterface[] findAll()
* @method NewsInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class NewsRepository extends AbstractRepository
{
public function getInterfaceClass()
{
return NewsInterface::class;
}


}

+ 23
- 0
Repository/Site/PageRepository.php Vedi File

@@ -0,0 +1,23 @@
<?php

namespace Lc\CaracoleBundle\Repository\Site;

use Lc\CaracoleBundle\Model\Site\NewsInterface;
use Lc\CaracoleBundle\Model\Site\PageInterface;
use Lc\SovBundle\Repository\AbstractRepository;

/**
* @method PageInterface|null find($id, $lockMode = null, $lockVersion = null)
* @method PageInterface|null findOneBy(array $criteria, array $orderBy = null)
* @method PageInterface[] findAll()
* @method PageInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class PageRepository extends AbstractRepository
{
public function getInterfaceClass()
{
return PageInterface::class;
}


}

+ 22
- 0
Repository/Ticket/TicketMessageRepository.php Vedi File

@@ -0,0 +1,22 @@
<?php

namespace Lc\CaracoleBundle\Repository\Ticket;

use Lc\CaracoleBundle\Model\Ticket\TicketMessageInterface;
use Lc\SovBundle\Repository\AbstractRepository;

/**
* @method TicketMessageInterface|null find($id, $lockMode = null, $lockVersion = null)
* @method TicketMessageInterface|null findOneBy(array $criteria, array $orderBy = null)
* @method TicketMessageInterface[] findAll()
* @method TicketMessageInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class TicketMessageRepository extends AbstractRepository
{
public function getInterfaceClass()
{
return TicketMessageInterface::class;
}


}

+ 22
- 0
Repository/Ticket/TicketRepository.php Vedi File

@@ -0,0 +1,22 @@
<?php

namespace Lc\CaracoleBundle\Repository\Ticket;

use Lc\CaracoleBundle\Model\Ticket\TicketInterface;
use Lc\SovBundle\Repository\AbstractRepository;

/**
* @method TicketInterface|null find($id, $lockMode = null, $lockVersion = null)
* @method TicketInterface|null findOneBy(array $criteria, array $orderBy = null)
* @method TicketInterface[] findAll()
* @method TicketInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class TicketRepository extends AbstractRepository
{
public function getInterfaceClass()
{
return TicketInterface::class;
}


}

+ 22
- 0
Repository/User/GroupUserRepository.php Vedi File

@@ -0,0 +1,22 @@
<?php

namespace Lc\CaracoleBundle\Repository\User;

use Lc\CaracoleBundle\Model\User\GroupUserInterface;
use Lc\SovBundle\Repository\AbstractRepository;

/**
* @method GroupUserInterface|null find($id, $lockMode = null, $lockVersion = null)
* @method GroupUserInterface|null findOneBy(array $criteria, array $orderBy = null)
* @method GroupUserInterface[] findAll()
* @method GroupUserInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class GroupUserRepository extends AbstractRepository
{
public function getInterfaceClass()
{
return GroupUserInterface::class;
}


}

+ 22
- 0
Repository/User/UserMerchantRepository.php Vedi File

@@ -0,0 +1,22 @@
<?php

namespace Lc\CaracoleBundle\Repository\User;

use Lc\CaracoleBundle\Model\User\UserMerchantInterface;
use Lc\SovBundle\Repository\AbstractRepository;

/**
* @method UserMerchantInterface|null find($id, $lockMode = null, $lockVersion = null)
* @method UserMerchantInterface|null findOneBy(array $criteria, array $orderBy = null)
* @method UserMerchantInterface[] findAll()
* @method UserMerchantInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class UserMerchantRepository extends AbstractRepository
{
public function getInterfaceClass()
{
return UserMerchantInterface::class;
}


}

+ 22
- 0
Repository/User/UserPointSaleRepository.php Vedi File

@@ -0,0 +1,22 @@
<?php

namespace Lc\CaracoleBundle\Repository\User;

use Lc\CaracoleBundle\Model\User\UserPointSaleInterface;
use Lc\SovBundle\Repository\AbstractRepository;

/**
* @method UserPointSaleInterface|null find($id, $lockMode = null, $lockVersion = null)
* @method UserPointSaleInterface|null findOneBy(array $criteria, array $orderBy = null)
* @method UserPointSaleInterface[] findAll()
* @method UserPointSaleInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class UserPointSaleRepository extends AbstractRepository
{
public function getInterfaceClass()
{
return UserPointSaleInterface::class;
}


}

+ 22
- 0
Repository/User/VisitorRepository.php Vedi File

@@ -0,0 +1,22 @@
<?php

namespace Lc\CaracoleBundle\Repository\User;

use Lc\CaracoleBundle\Model\User\VisitorInterface;
use Lc\SovBundle\Repository\AbstractRepository;

/**
* @method VisitorInterface|null find($id, $lockMode = null, $lockVersion = null)
* @method VisitorInterface|null findOneBy(array $criteria, array $orderBy = null)
* @method VisitorInterface[] findAll()
* @method VisitorInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class VisitorRepository extends AbstractRepository
{
public function getInterfaceClass()
{
return VisitorInterface::class;
}


}

Loading…
Annulla
Salva