<?php | |||||
namespace App\Entity\PointSale; | |||||
use App\Repository\PointSaleDayInfoRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | |||||
use Lc\CaracoleBundle\Model\PointSale\PointSaleDayInfoInterface; | |||||
use Lc\CaracoleBundle\Model\PointSale\PointSaleDayInfoModel; | |||||
/** | |||||
* @ORM\Entity(repositoryClass=PointSaleDayInfoRepository::class) | |||||
*/ | |||||
class PointSaleDayInfo extends PointSaleDayInfoModel implements PointSaleDayInfoInterface | |||||
{ | |||||
/** | |||||
* @ORM\Id | |||||
* @ORM\GeneratedValue | |||||
* @ORM\Column(type="integer") | |||||
*/ | |||||
private $id; | |||||
public function getId(): ?int | |||||
{ | |||||
return $this->id; | |||||
} | |||||
} |
<?php | |||||
namespace App\Entity\Product; | |||||
use App\Repository\ProductRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | |||||
use Lc\CaracoleBundle\Model\Product\ProductInterface; | |||||
use Lc\CaracoleBundle\Model\Product\ProductModel; | |||||
/** | |||||
* @ORM\Entity(repositoryClass=ProductRepository::class) | |||||
*/ | |||||
class Product extends ProductModel implements ProductInterface | |||||
{ | |||||
/** | |||||
* @ORM\Id | |||||
* @ORM\GeneratedValue | |||||
* @ORM\Column(type="integer") | |||||
*/ | |||||
private $id; | |||||
public function getId(): ?int | |||||
{ | |||||
return $this->id; | |||||
} | |||||
} |
<?php | |||||
namespace App\Entity\Product; | |||||
use App\Repository\ProductCategoryRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | |||||
use Lc\CaracoleBundle\Model\Product\ProductCategoryInterface; | |||||
use Lc\CaracoleBundle\Model\Product\ProductCategoryModel; | |||||
/** | |||||
* @ORM\Entity(repositoryClass=ProductCategoryRepository::class) | |||||
*/ | |||||
class ProductCategory extends ProductCategoryModel implements ProductCategoryInterface | |||||
{ | |||||
/** | |||||
* @ORM\Id | |||||
* @ORM\GeneratedValue | |||||
* @ORM\Column(type="integer") | |||||
*/ | |||||
private $id; | |||||
public function getId(): ?int | |||||
{ | |||||
return $this->id; | |||||
} | |||||
} |
<?php | |||||
namespace App\Entity\Product; | |||||
use App\Repository\ProductFamilyRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | |||||
use Lc\CaracoleBundle\Model\Product\ProductFamilyInterface; | |||||
use Lc\CaracoleBundle\Model\Product\ProductFamilyModel; | |||||
/** | |||||
* @ORM\Entity(repositoryClass=ProductFamilyRepository::class) | |||||
*/ | |||||
class ProductFamily extends ProductFamilyModel implements ProductFamilyInterface | |||||
{ | |||||
/** | |||||
* @ORM\Id | |||||
* @ORM\GeneratedValue | |||||
* @ORM\Column(type="integer") | |||||
*/ | |||||
private $id; | |||||
public function getId(): ?int | |||||
{ | |||||
return $this->id; | |||||
} | |||||
} |
<?php | |||||
namespace App\Entity\Reduction; | |||||
use App\Repository\ReductionCartRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | |||||
use Lc\CaracoleBundle\Model\Reduction\ReductionCartInterface; | |||||
use Lc\CaracoleBundle\Model\Reduction\ReductionCartModel; | |||||
/** | |||||
* @ORM\Entity(repositoryClass=ReductionCartRepository::class) | |||||
*/ | |||||
class ReductionCart extends ReductionCartModel implements ReductionCartInterface | |||||
{ | |||||
/** | |||||
* @ORM\Id | |||||
* @ORM\GeneratedValue | |||||
* @ORM\Column(type="integer") | |||||
*/ | |||||
private $id; | |||||
public function getId(): ?int | |||||
{ | |||||
return $this->id; | |||||
} | |||||
} |
<?php | |||||
namespace App\Entity\Reduction; | |||||
use App\Repository\ReductionCatalogRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | |||||
use Lc\CaracoleBundle\Model\Reduction\ReductionCatalogInterface; | |||||
use Lc\CaracoleBundle\Model\Reduction\ReductionCatalogModel; | |||||
/** | |||||
* @ORM\Entity(repositoryClass=ReductionCatalogRepository::class) | |||||
*/ | |||||
class ReductionCatalog extends ReductionCatalogModel implements ReductionCatalogInterface | |||||
{ | |||||
/** | |||||
* @ORM\Id | |||||
* @ORM\GeneratedValue | |||||
* @ORM\Column(type="integer") | |||||
*/ | |||||
private $id; | |||||
public function getId(): ?int | |||||
{ | |||||
return $this->id; | |||||
} | |||||
} |
<?php | |||||
namespace App\Entity\Reduction; | |||||
use App\Repository\ReductionCreditRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | |||||
use Lc\CaracoleBundle\Model\Reduction\ReductionCreditInterface; | |||||
use Lc\CaracoleBundle\Model\Reduction\ReductionCreditModel; | |||||
/** | |||||
* @ORM\Entity(repositoryClass=ReductionCreditRepository::class) | |||||
*/ | |||||
class ReductionCredit extends ReductionCreditModel implements ReductionCreditInterface | |||||
{ | |||||
/** | |||||
* @ORM\Id | |||||
* @ORM\GeneratedValue | |||||
* @ORM\Column(type="integer") | |||||
*/ | |||||
private $id; | |||||
public function getId(): ?int | |||||
{ | |||||
return $this->id; | |||||
} | |||||
} |
<?php | |||||
namespace App\Entity\Reminder; | |||||
use App\Repository\ReminderRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | |||||
use Lc\CaracoleBundle\Model\Reminder\ReminderInterface; | |||||
use Lc\CaracoleBundle\Model\Reminder\ReminderModel; | |||||
/** | |||||
* @ORM\Entity(repositoryClass=ReminderRepository::class) | |||||
*/ | |||||
class Reminder extends ReminderModel implements ReminderInterface | |||||
{ | |||||
/** | |||||
* @ORM\Id | |||||
* @ORM\GeneratedValue | |||||
* @ORM\Column(type="integer") | |||||
*/ | |||||
private $id; | |||||
public function getId(): ?int | |||||
{ | |||||
return $this->id; | |||||
} | |||||
} |
<?php | |||||
namespace App\Entity\Section; | |||||
use App\Repository\SectionRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | |||||
use Lc\CaracoleBundle\Model\Section\SectionInterface; | |||||
use Lc\CaracoleBundle\Model\Section\SectionModel; | |||||
/** | |||||
* @ORM\Entity(repositoryClass=SectionRepository::class) | |||||
*/ | |||||
class Section extends SectionModel implements SectionInterface | |||||
{ | |||||
/** | |||||
* @ORM\Id | |||||
* @ORM\GeneratedValue | |||||
* @ORM\Column(type="integer") | |||||
*/ | |||||
private $id; | |||||
public function getId(): ?int | |||||
{ | |||||
return $this->id; | |||||
} | |||||
} |
<?php | |||||
namespace App\Entity\Site; | |||||
use App\Repository\NewsRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | |||||
use Lc\CaracoleBundle\Model\Site\NewsInterface; | |||||
use Lc\CaracoleBundle\Model\Site\NewsModel; | |||||
/** | |||||
* @ORM\Entity(repositoryClass=NewsRepository::class) | |||||
*/ | |||||
class News extends NewsModel implements NewsInterface | |||||
{ | |||||
/** | |||||
* @ORM\Id | |||||
* @ORM\GeneratedValue | |||||
* @ORM\Column(type="integer") | |||||
*/ | |||||
private $id; | |||||
public function getId(): ?int | |||||
{ | |||||
return $this->id; | |||||
} | |||||
} |
<?php | |||||
namespace App\Entity\Ticket; | |||||
use App\Repository\TicketRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | |||||
use Lc\CaracoleBundle\Model\Ticket\TicketInterface; | |||||
use Lc\CaracoleBundle\Model\Ticket\TicketModel; | |||||
/** | |||||
* @ORM\Entity(repositoryClass=TicketRepository::class) | |||||
*/ | |||||
class Ticket extends TicketModel implements TicketInterface | |||||
{ | |||||
/** | |||||
* @ORM\Id | |||||
* @ORM\GeneratedValue | |||||
* @ORM\Column(type="integer") | |||||
*/ | |||||
private $id; | |||||
public function getId(): ?int | |||||
{ | |||||
return $this->id; | |||||
} | |||||
} |
<?php | |||||
namespace App\Entity\Ticket; | |||||
use App\Repository\TicketMessageRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | |||||
use Lc\CaracoleBundle\Model\Ticket\TicketMessageInterface; | |||||
use Lc\CaracoleBundle\Model\Ticket\TicketMessageModel; | |||||
/** | |||||
* @ORM\Entity(repositoryClass=TicketMessageRepository::class) | |||||
*/ | |||||
class TicketMessage extends TicketMessageModel implements TicketMessageInterface | |||||
{ | |||||
/** | |||||
* @ORM\Id | |||||
* @ORM\GeneratedValue | |||||
* @ORM\Column(type="integer") | |||||
*/ | |||||
private $id; | |||||
public function getId(): ?int | |||||
{ | |||||
return $this->id; | |||||
} | |||||
} |
<?php | |||||
namespace App\Entity\User; | |||||
use App\Repository\GroupUserRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | |||||
use Lc\CaracoleBundle\Model\User\GroupUserInterface; | |||||
use Lc\CaracoleBundle\Model\User\GroupUserModel; | |||||
/** | |||||
* @ORM\Entity(repositoryClass=GroupUserRepository::class) | |||||
*/ | |||||
class GroupUser extends GroupUserModel implements GroupUserInterface | |||||
{ | |||||
/** | |||||
* @ORM\Id | |||||
* @ORM\GeneratedValue | |||||
* @ORM\Column(type="integer") | |||||
*/ | |||||
private $id; | |||||
public function getId(): ?int | |||||
{ | |||||
return $this->id; | |||||
} | |||||
} |
<?php | |||||
namespace App\Entity\User; | |||||
use App\Repository\UserMerchantRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | |||||
use Lc\CaracoleBundle\Model\User\UserMerchantInterface; | |||||
use Lc\CaracoleBundle\Model\User\UserMerchantModel; | |||||
/** | |||||
* @ORM\Entity(repositoryClass=UserMerchantRepository::class) | |||||
*/ | |||||
class UserMerchant extends UserMerchantModel implements UserMerchantInterface | |||||
{ | |||||
/** | |||||
* @ORM\Id | |||||
* @ORM\GeneratedValue | |||||
* @ORM\Column(type="integer") | |||||
*/ | |||||
private $id; | |||||
public function getId(): ?int | |||||
{ | |||||
return $this->id; | |||||
} | |||||
} |
<?php | |||||
namespace App\Entity\User; | |||||
use App\Repository\UserPointSaleRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | |||||
use Lc\CaracoleBundle\Model\User\UserPointSaleInterface; | |||||
use Lc\CaracoleBundle\Model\User\UserPointSaleModel; | |||||
/** | |||||
* @ORM\Entity(repositoryClass=UserPointSaleRepository::class) | |||||
*/ | |||||
class UserPointSale extends UserPointSaleModel implements UserPointSaleInterface | |||||
{ | |||||
/** | |||||
* @ORM\Id | |||||
* @ORM\GeneratedValue | |||||
* @ORM\Column(type="integer") | |||||
*/ | |||||
private $id; | |||||
public function getId(): ?int | |||||
{ | |||||
return $this->id; | |||||
} | |||||
} |
<?php | |||||
namespace App\Entity\User; | |||||
use App\Repository\VisitorRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | |||||
use Lc\CaracoleBundle\Model\User\VisitorInterface; | |||||
use Lc\CaracoleBundle\Model\User\VisitorModel; | |||||
/** | |||||
* @ORM\Entity(repositoryClass=VisitorRepository::class) | |||||
*/ | |||||
class Visitor extends VisitorModel implements VisitorInterface | |||||
{ | |||||
/** | |||||
* @ORM\Id | |||||
* @ORM\GeneratedValue | |||||
* @ORM\Column(type="integer") | |||||
*/ | |||||
private $id; | |||||
public function getId(): ?int | |||||
{ | |||||
return $this->id; | |||||
} | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\GroupUser; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method GroupUser|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method GroupUser|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method GroupUser[] findAll() | |||||
* @method GroupUser[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class GroupUserRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, GroupUser::class); | |||||
} | |||||
// /** | |||||
// * @return GroupUser[] Returns an array of GroupUser objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('g') | |||||
->andWhere('g.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('g.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?GroupUser | |||||
{ | |||||
return $this->createQueryBuilder('g') | |||||
->andWhere('g.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\News; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method News|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method News|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method News[] findAll() | |||||
* @method News[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class NewsRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, News::class); | |||||
} | |||||
// /** | |||||
// * @return News[] Returns an array of News objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('n') | |||||
->andWhere('n.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('n.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?News | |||||
{ | |||||
return $this->createQueryBuilder('n') | |||||
->andWhere('n.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
namespace App\Repository; | namespace App\Repository; | ||||
use App\Entity\Page; | use App\Entity\Page; | ||||
use Lc\SovBundle\Repository\RepositoryAbstract; | |||||
use Lc\SovBundle\Repository\AbstractRepository; | |||||
/** | /** | ||||
* @method Page|null find($id, $lockMode = null, $lockVersion = null) | * @method Page|null find($id, $lockMode = null, $lockVersion = null) | ||||
* @method Page[] findAll() | * @method Page[] findAll() | ||||
* @method Page[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | * @method Page[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | ||||
*/ | */ | ||||
class PageRepository extends RepositoryAbstract | |||||
class PageRepository extends AbstractRepository | |||||
{ | { | ||||
public function getInterfaceClass() | public function getInterfaceClass() | ||||
{ | { |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\PointSaleDayInfo; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method PointSaleDayInfo|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method PointSaleDayInfo|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method PointSaleDayInfo[] findAll() | |||||
* @method PointSaleDayInfo[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class PointSaleDayInfoRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, PointSaleDayInfo::class); | |||||
} | |||||
// /** | |||||
// * @return PointSaleDayInfo[] Returns an array of PointSaleDayInfo objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('p') | |||||
->andWhere('p.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('p.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?PointSaleDayInfo | |||||
{ | |||||
return $this->createQueryBuilder('p') | |||||
->andWhere('p.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\ProductCategory; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method ProductCategory|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method ProductCategory|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method ProductCategory[] findAll() | |||||
* @method ProductCategory[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class ProductCategoryRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, ProductCategory::class); | |||||
} | |||||
// /** | |||||
// * @return ProductCategory[] Returns an array of ProductCategory objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('p') | |||||
->andWhere('p.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('p.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?ProductCategory | |||||
{ | |||||
return $this->createQueryBuilder('p') | |||||
->andWhere('p.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\ProductFamily; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method ProductFamily|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method ProductFamily|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method ProductFamily[] findAll() | |||||
* @method ProductFamily[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class ProductFamilyRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, ProductFamily::class); | |||||
} | |||||
// /** | |||||
// * @return ProductFamily[] Returns an array of ProductFamily objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('p') | |||||
->andWhere('p.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('p.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?ProductFamily | |||||
{ | |||||
return $this->createQueryBuilder('p') | |||||
->andWhere('p.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\Product; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method Product|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method Product|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method Product[] findAll() | |||||
* @method Product[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class ProductRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, Product::class); | |||||
} | |||||
// /** | |||||
// * @return Product[] Returns an array of Product objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('p') | |||||
->andWhere('p.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('p.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?Product | |||||
{ | |||||
return $this->createQueryBuilder('p') | |||||
->andWhere('p.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\ReductionCart; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method ReductionCart|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method ReductionCart|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method ReductionCart[] findAll() | |||||
* @method ReductionCart[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class ReductionCartRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, ReductionCart::class); | |||||
} | |||||
// /** | |||||
// * @return ReductionCart[] Returns an array of ReductionCart objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('r') | |||||
->andWhere('r.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('r.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?ReductionCart | |||||
{ | |||||
return $this->createQueryBuilder('r') | |||||
->andWhere('r.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\ReductionCatalog; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method ReductionCatalog|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method ReductionCatalog|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method ReductionCatalog[] findAll() | |||||
* @method ReductionCatalog[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class ReductionCatalogRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, ReductionCatalog::class); | |||||
} | |||||
// /** | |||||
// * @return ReductionCatalog[] Returns an array of ReductionCatalog objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('r') | |||||
->andWhere('r.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('r.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?ReductionCatalog | |||||
{ | |||||
return $this->createQueryBuilder('r') | |||||
->andWhere('r.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\ReductionCredit; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method ReductionCredit|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method ReductionCredit|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method ReductionCredit[] findAll() | |||||
* @method ReductionCredit[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class ReductionCreditRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, ReductionCredit::class); | |||||
} | |||||
// /** | |||||
// * @return ReductionCredit[] Returns an array of ReductionCredit objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('r') | |||||
->andWhere('r.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('r.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?ReductionCredit | |||||
{ | |||||
return $this->createQueryBuilder('r') | |||||
->andWhere('r.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\Reminder; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method Reminder|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method Reminder|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method Reminder[] findAll() | |||||
* @method Reminder[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class ReminderRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, Reminder::class); | |||||
} | |||||
// /** | |||||
// * @return Reminder[] Returns an array of Reminder objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('r') | |||||
->andWhere('r.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('r.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?Reminder | |||||
{ | |||||
return $this->createQueryBuilder('r') | |||||
->andWhere('r.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\Section; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method Section|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method Section|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method Section[] findAll() | |||||
* @method Section[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class SectionRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, Section::class); | |||||
} | |||||
// /** | |||||
// * @return Section[] Returns an array of Section objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('s') | |||||
->andWhere('s.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('s.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?Section | |||||
{ | |||||
return $this->createQueryBuilder('s') | |||||
->andWhere('s.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\TicketMessage; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method TicketMessage|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method TicketMessage|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method TicketMessage[] findAll() | |||||
* @method TicketMessage[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class TicketMessageRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, TicketMessage::class); | |||||
} | |||||
// /** | |||||
// * @return TicketMessage[] Returns an array of TicketMessage objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('t') | |||||
->andWhere('t.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('t.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?TicketMessage | |||||
{ | |||||
return $this->createQueryBuilder('t') | |||||
->andWhere('t.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\Ticket; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method Ticket|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method Ticket|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method Ticket[] findAll() | |||||
* @method Ticket[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class TicketRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, Ticket::class); | |||||
} | |||||
// /** | |||||
// * @return Ticket[] Returns an array of Ticket objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('t') | |||||
->andWhere('t.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('t.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?Ticket | |||||
{ | |||||
return $this->createQueryBuilder('t') | |||||
->andWhere('t.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\UserMerchant; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method UserMerchant|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method UserMerchant|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method UserMerchant[] findAll() | |||||
* @method UserMerchant[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class UserMerchantRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, UserMerchant::class); | |||||
} | |||||
// /** | |||||
// * @return UserMerchant[] Returns an array of UserMerchant objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('u') | |||||
->andWhere('u.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('u.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?UserMerchant | |||||
{ | |||||
return $this->createQueryBuilder('u') | |||||
->andWhere('u.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\UserPointSale; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method UserPointSale|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method UserPointSale|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method UserPointSale[] findAll() | |||||
* @method UserPointSale[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class UserPointSaleRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, UserPointSale::class); | |||||
} | |||||
// /** | |||||
// * @return UserPointSale[] Returns an array of UserPointSale objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('u') | |||||
->andWhere('u.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('u.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?UserPointSale | |||||
{ | |||||
return $this->createQueryBuilder('u') | |||||
->andWhere('u.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |
<?php | |||||
namespace App\Repository; | |||||
use App\Entity\Visitor; | |||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |||||
use Doctrine\Persistence\ManagerRegistry; | |||||
/** | |||||
* @method Visitor|null find($id, $lockMode = null, $lockVersion = null) | |||||
* @method Visitor|null findOneBy(array $criteria, array $orderBy = null) | |||||
* @method Visitor[] findAll() | |||||
* @method Visitor[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) | |||||
*/ | |||||
class VisitorRepository extends ServiceEntityRepository | |||||
{ | |||||
public function __construct(ManagerRegistry $registry) | |||||
{ | |||||
parent::__construct($registry, Visitor::class); | |||||
} | |||||
// /** | |||||
// * @return Visitor[] Returns an array of Visitor objects | |||||
// */ | |||||
/* | |||||
public function findByExampleField($value) | |||||
{ | |||||
return $this->createQueryBuilder('v') | |||||
->andWhere('v.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->orderBy('v.id', 'ASC') | |||||
->setMaxResults(10) | |||||
->getQuery() | |||||
->getResult() | |||||
; | |||||
} | |||||
*/ | |||||
/* | |||||
public function findOneBySomeField($value): ?Visitor | |||||
{ | |||||
return $this->createQueryBuilder('v') | |||||
->andWhere('v.exampleField = :val') | |||||
->setParameter('val', $value) | |||||
->getQuery() | |||||
->getOneOrNullResult() | |||||
; | |||||
} | |||||
*/ | |||||
} |