Przeglądaj źródła

Création entité

master
Fab 3 lat temu
rodzic
commit
003548eeff
33 zmienionych plików z 1218 dodań i 2 usunięć
  1. +26
    -0
      src/Entity/PointSale/PointSaleDayInfo.php
  2. +26
    -0
      src/Entity/Product/Product.php
  3. +26
    -0
      src/Entity/Product/ProductCategory.php
  4. +26
    -0
      src/Entity/Product/ProductFamily.php
  5. +26
    -0
      src/Entity/Reduction/ReductionCart.php
  6. +26
    -0
      src/Entity/Reduction/ReductionCatalog.php
  7. +26
    -0
      src/Entity/Reduction/ReductionCredit.php
  8. +26
    -0
      src/Entity/Reminder/Reminder.php
  9. +26
    -0
      src/Entity/Section/Section.php
  10. +26
    -0
      src/Entity/Site/News.php
  11. +26
    -0
      src/Entity/Ticket/Ticket.php
  12. +26
    -0
      src/Entity/Ticket/TicketMessage.php
  13. +26
    -0
      src/Entity/User/GroupUser.php
  14. +26
    -0
      src/Entity/User/UserMerchant.php
  15. +26
    -0
      src/Entity/User/UserPointSale.php
  16. +26
    -0
      src/Entity/User/Visitor.php
  17. +50
    -0
      src/Repository/GroupUserRepository.php
  18. +50
    -0
      src/Repository/NewsRepository.php
  19. +2
    -2
      src/Repository/PageRepository.php
  20. +50
    -0
      src/Repository/PointSaleDayInfoRepository.php
  21. +50
    -0
      src/Repository/ProductCategoryRepository.php
  22. +50
    -0
      src/Repository/ProductFamilyRepository.php
  23. +50
    -0
      src/Repository/ProductRepository.php
  24. +50
    -0
      src/Repository/ReductionCartRepository.php
  25. +50
    -0
      src/Repository/ReductionCatalogRepository.php
  26. +50
    -0
      src/Repository/ReductionCreditRepository.php
  27. +50
    -0
      src/Repository/ReminderRepository.php
  28. +50
    -0
      src/Repository/SectionRepository.php
  29. +50
    -0
      src/Repository/TicketMessageRepository.php
  30. +50
    -0
      src/Repository/TicketRepository.php
  31. +50
    -0
      src/Repository/UserMerchantRepository.php
  32. +50
    -0
      src/Repository/UserPointSaleRepository.php
  33. +50
    -0
      src/Repository/VisitorRepository.php

+ 26
- 0
src/Entity/PointSale/PointSaleDayInfo.php Wyświetl plik

@@ -0,0 +1,26 @@
<?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;
}
}

+ 26
- 0
src/Entity/Product/Product.php Wyświetl plik

@@ -0,0 +1,26 @@
<?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;
}
}

+ 26
- 0
src/Entity/Product/ProductCategory.php Wyświetl plik

@@ -0,0 +1,26 @@
<?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;
}
}

+ 26
- 0
src/Entity/Product/ProductFamily.php Wyświetl plik

@@ -0,0 +1,26 @@
<?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;
}
}

+ 26
- 0
src/Entity/Reduction/ReductionCart.php Wyświetl plik

@@ -0,0 +1,26 @@
<?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;
}
}

+ 26
- 0
src/Entity/Reduction/ReductionCatalog.php Wyświetl plik

@@ -0,0 +1,26 @@
<?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;
}
}

+ 26
- 0
src/Entity/Reduction/ReductionCredit.php Wyświetl plik

@@ -0,0 +1,26 @@
<?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;
}
}

+ 26
- 0
src/Entity/Reminder/Reminder.php Wyświetl plik

@@ -0,0 +1,26 @@
<?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;
}
}

+ 26
- 0
src/Entity/Section/Section.php Wyświetl plik

@@ -0,0 +1,26 @@
<?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;
}
}

+ 26
- 0
src/Entity/Site/News.php Wyświetl plik

@@ -0,0 +1,26 @@
<?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;
}
}

+ 26
- 0
src/Entity/Ticket/Ticket.php Wyświetl plik

@@ -0,0 +1,26 @@
<?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;
}
}

+ 26
- 0
src/Entity/Ticket/TicketMessage.php Wyświetl plik

@@ -0,0 +1,26 @@
<?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;
}
}

+ 26
- 0
src/Entity/User/GroupUser.php Wyświetl plik

@@ -0,0 +1,26 @@
<?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;
}
}

+ 26
- 0
src/Entity/User/UserMerchant.php Wyświetl plik

@@ -0,0 +1,26 @@
<?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;
}
}

+ 26
- 0
src/Entity/User/UserPointSale.php Wyświetl plik

@@ -0,0 +1,26 @@
<?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;
}
}

+ 26
- 0
src/Entity/User/Visitor.php Wyświetl plik

@@ -0,0 +1,26 @@
<?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;
}
}

+ 50
- 0
src/Repository/GroupUserRepository.php Wyświetl plik

@@ -0,0 +1,50 @@
<?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()
;
}
*/
}

+ 50
- 0
src/Repository/NewsRepository.php Wyświetl plik

@@ -0,0 +1,50 @@
<?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()
;
}
*/
}

+ 2
- 2
src/Repository/PageRepository.php Wyświetl plik

@@ -3,7 +3,7 @@
namespace App\Repository;

use App\Entity\Page;
use Lc\SovBundle\Repository\RepositoryAbstract;
use Lc\SovBundle\Repository\AbstractRepository;

/**
* @method Page|null find($id, $lockMode = null, $lockVersion = null)
@@ -11,7 +11,7 @@ use Lc\SovBundle\Repository\RepositoryAbstract;
* @method Page[] findAll()
* @method Page[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class PageRepository extends RepositoryAbstract
class PageRepository extends AbstractRepository
{
public function getInterfaceClass()
{

+ 50
- 0
src/Repository/PointSaleDayInfoRepository.php Wyświetl plik

@@ -0,0 +1,50 @@
<?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()
;
}
*/
}

+ 50
- 0
src/Repository/ProductCategoryRepository.php Wyświetl plik

@@ -0,0 +1,50 @@
<?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()
;
}
*/
}

+ 50
- 0
src/Repository/ProductFamilyRepository.php Wyświetl plik

@@ -0,0 +1,50 @@
<?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()
;
}
*/
}

+ 50
- 0
src/Repository/ProductRepository.php Wyświetl plik

@@ -0,0 +1,50 @@
<?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()
;
}
*/
}

+ 50
- 0
src/Repository/ReductionCartRepository.php Wyświetl plik

@@ -0,0 +1,50 @@
<?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()
;
}
*/
}

+ 50
- 0
src/Repository/ReductionCatalogRepository.php Wyświetl plik

@@ -0,0 +1,50 @@
<?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()
;
}
*/
}

+ 50
- 0
src/Repository/ReductionCreditRepository.php Wyświetl plik

@@ -0,0 +1,50 @@
<?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()
;
}
*/
}

+ 50
- 0
src/Repository/ReminderRepository.php Wyświetl plik

@@ -0,0 +1,50 @@
<?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()
;
}
*/
}

+ 50
- 0
src/Repository/SectionRepository.php Wyświetl plik

@@ -0,0 +1,50 @@
<?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()
;
}
*/
}

+ 50
- 0
src/Repository/TicketMessageRepository.php Wyświetl plik

@@ -0,0 +1,50 @@
<?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()
;
}
*/
}

+ 50
- 0
src/Repository/TicketRepository.php Wyświetl plik

@@ -0,0 +1,50 @@
<?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()
;
}
*/
}

+ 50
- 0
src/Repository/UserMerchantRepository.php Wyświetl plik

@@ -0,0 +1,50 @@
<?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()
;
}
*/
}

+ 50
- 0
src/Repository/UserPointSaleRepository.php Wyświetl plik

@@ -0,0 +1,50 @@
<?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()
;
}
*/
}

+ 50
- 0
src/Repository/VisitorRepository.php Wyświetl plik

@@ -0,0 +1,50 @@
<?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()
;
}
*/
}

Ładowanie…
Anuluj
Zapisz