diff --git a/src/Repository/BuildingCasePositionRepository.php b/src/Repository/BuildingCasePositionRepository.php new file mode 100644 index 0000000..f02008f --- /dev/null +++ b/src/Repository/BuildingCasePositionRepository.php @@ -0,0 +1,45 @@ + + */ +class BuildingCasePositionRepository extends ServiceEntityRepository +{ + public function __construct(ManagerRegistry $registry) + { + parent::__construct($registry, BuildingCasePosition::class); + } + + // /** + // * @return BuildingCasePosition[] Returns an array of BuildingCasePosition objects + // */ + // public function findByExampleField($value): array + // { + // return $this->createQueryBuilder('b') + // ->andWhere('b.exampleField = :val') + // ->setParameter('val', $value) + // ->orderBy('b.id', 'ASC') + // ->setMaxResults(10) + // ->getQuery() + // ->getResult() + // ; + // } + + // public function findOneBySomeField($value): ?BuildingCasePosition + // { + // return $this->createQueryBuilder('b') + // ->andWhere('b.exampleField = :val') + // ->setParameter('val', $value) + // ->getQuery() + // ->getOneOrNullResult() + // ; + // } +} diff --git a/src/Repository/BuildingCaseRepository.php b/src/Repository/BuildingCaseRepository.php new file mode 100644 index 0000000..9e84dc7 --- /dev/null +++ b/src/Repository/BuildingCaseRepository.php @@ -0,0 +1,45 @@ + + */ +class BuildingCaseRepository extends ServiceEntityRepository +{ + public function __construct(ManagerRegistry $registry) + { + parent::__construct($registry, BuildingCase::class); + } + + // /** + // * @return BuildingCase[] Returns an array of BuildingCase objects + // */ + // public function findByExampleField($value): array + // { + // return $this->createQueryBuilder('b') + // ->andWhere('b.exampleField = :val') + // ->setParameter('val', $value) + // ->orderBy('b.id', 'ASC') + // ->setMaxResults(10) + // ->getQuery() + // ->getResult() + // ; + // } + + // public function findOneBySomeField($value): ?BuildingCase + // { + // return $this->createQueryBuilder('b') + // ->andWhere('b.exampleField = :val') + // ->setParameter('val', $value) + // ->getQuery() + // ->getOneOrNullResult() + // ; + // } +} diff --git a/src/Repository/BuildingLayoutRepository.php b/src/Repository/BuildingLayoutRepository.php new file mode 100644 index 0000000..971eca4 --- /dev/null +++ b/src/Repository/BuildingLayoutRepository.php @@ -0,0 +1,45 @@ + + */ +class BuildingLayoutRepository extends ServiceEntityRepository +{ + public function __construct(ManagerRegistry $registry) + { + parent::__construct($registry, BuildingLayout::class); + } + + // /** + // * @return BuildingLayout[] Returns an array of BuildingLayout objects + // */ + // public function findByExampleField($value): array + // { + // return $this->createQueryBuilder('b') + // ->andWhere('b.exampleField = :val') + // ->setParameter('val', $value) + // ->orderBy('b.id', 'ASC') + // ->setMaxResults(10) + // ->getQuery() + // ->getResult() + // ; + // } + + // public function findOneBySomeField($value): ?BuildingLayout + // { + // return $this->createQueryBuilder('b') + // ->andWhere('b.exampleField = :val') + // ->setParameter('val', $value) + // ->getQuery() + // ->getOneOrNullResult() + // ; + // } +} diff --git a/src/Repository/StatutRepository.php b/src/Repository/StatutRepository.php new file mode 100644 index 0000000..b783ad0 --- /dev/null +++ b/src/Repository/StatutRepository.php @@ -0,0 +1,45 @@ + + */ +class StatutRepository extends ServiceEntityRepository +{ + public function __construct(ManagerRegistry $registry) + { + parent::__construct($registry, Statut::class); + } + + // /** + // * @return Statut[] Returns an array of Statut objects + // */ + // public function findByExampleField($value): array + // { + // return $this->createQueryBuilder('s') + // ->andWhere('s.exampleField = :val') + // ->setParameter('val', $value) + // ->orderBy('s.id', 'ASC') + // ->setMaxResults(10) + // ->getQuery() + // ->getResult() + // ; + // } + + // public function findOneBySomeField($value): ?Statut + // { + // return $this->createQueryBuilder('s') + // ->andWhere('s.exampleField = :val') + // ->setParameter('val', $value) + // ->getQuery() + // ->getOneOrNullResult() + // ; + // } +}