summaryrefslogtreecommitdiff
path: root/src/model/entities/Facture.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/entities/Facture.php')
-rw-r--r--src/model/entities/Facture.php14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/model/entities/Facture.php b/src/model/entities/Facture.php
index 9a9a89d..fe04508 100644
--- a/src/model/entities/Facture.php
+++ b/src/model/entities/Facture.php
@@ -6,20 +6,8 @@ use Doctrine\ORM\EntityManager;
6 6
7#[ORM\Entity] 7#[ORM\Entity]
8#[ORM\Table(name: 'factures')] 8#[ORM\Table(name: 'factures')]
9class Facture 9class Facture extends Prestation
10{ 10{
11 #[ORM\Id]
12 #[ORM\Column(type: 'integer')]
13 #[ORM\GeneratedValue]
14 private int|null $id = null;
15
16 //~ #[ORM\ManyToOne(targetEntity: Prestation::class, cascade: ['persist'])]
17 //~ #[ORM\JoinColumn(name: 'id_presta', referencedColumnName: 'id')]
18 //~ private Prestation|null $presta = null;
19 #[ORM\OneToOne(targetEntity: Prestation::class, inversedBy: 'facture', cascade: ['persist'])]
20 #[ORM\JoinColumn(name: 'id_presta', referencedColumnName: 'id')]
21 private ?Prestation $presta = null;
22
23 #[ORM\Column] 11 #[ORM\Column]
24 private string $taches; 12 private string $taches;
25 #[ORM\Column] 13 #[ORM\Column]