src/Entity/IctusReclamation.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\IctusReclamationRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=IctusReclamationRepository::class)
  7.  */
  8. class IctusReclamation
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="integer", nullable=true)
  18.      */
  19.     private $mumeroticket;
  20.     /**
  21.      * @ORM\Column(type="text")
  22.      */
  23.     private $description;
  24.     /**
  25.      * @ORM\Column(type="string", length=255)
  26.      */
  27.     private $objet;
  28.     /**
  29.      * @ORM\ManyToOne(targetEntity=IctusTypeReclamation::class, inversedBy="ictusReclamations")
  30.      * @ORM\JoinColumn(nullable=false)
  31.      */
  32.     private $typereclamation;
  33.     /**
  34.      * @ORM\ManyToOne(targetEntity=IctusEtatReclamation::class, inversedBy="ictusReclamations")
  35.      * @ORM\JoinColumn(nullable=false)
  36.      */
  37.     private $etatreclamation;
  38.     /**
  39.      * @ORM\ManyToOne(targetEntity=User::class, inversedBy="ictusReclamations")
  40.      * @ORM\JoinColumn(nullable=false)
  41.      */
  42.     private $user;
  43.     /**
  44.      * @ORM\ManyToOne(targetEntity=IctusCommande::class, inversedBy="ictusReclamations")
  45.      */
  46.     private $commande;
  47.     /**
  48.      * @ORM\Column(type="datetime")
  49.      */
  50.     private $createdAt;
  51.     /**
  52.      * @ORM\ManyToOne(targetEntity=Fonctionnality::class, inversedBy="ictusReclamations")
  53.      */
  54.     private $fonctionnality;
  55.     /**
  56.      * @ORM\ManyToOne(targetEntity=IctusPharmacie::class, inversedBy="ictusReclamations")
  57.      */
  58.     private $pharmacie;
  59.     /**
  60.      * @ORM\ManyToOne(targetEntity=FacturePatient::class, inversedBy="ictusReclamations")
  61.      */
  62.     private $facture;
  63.     /**
  64.      * @ORM\ManyToOne(targetEntity=IctusHistoriquePaiement::class, inversedBy="ictusReclamations")
  65.      */
  66.     private $historiquePaiement;
  67.     public function getId(): ?int
  68.     {
  69.         return $this->id;
  70.     }
  71.     public function getMumeroticket(): ?int
  72.     {
  73.         return $this->mumeroticket;
  74.     }
  75.     public function setMumeroticket(?int $mumeroticket): self
  76.     {
  77.         $this->mumeroticket $mumeroticket;
  78.         return $this;
  79.     }
  80.     public function getDescription(): ?string
  81.     {
  82.         return $this->description;
  83.     }
  84.     public function setDescription(string $description): self
  85.     {
  86.         $this->description $description;
  87.         return $this;
  88.     }
  89.     public function getObjet(): ?string
  90.     {
  91.         return $this->objet;
  92.     }
  93.     public function setObjet(string $objet): self
  94.     {
  95.         $this->objet $objet;
  96.         return $this;
  97.     }
  98.     public function getTypereclamation(): ?IctusTypeReclamation
  99.     {
  100.         return $this->typereclamation;
  101.     }
  102.     public function setTypereclamation(?IctusTypeReclamation $typereclamation): self
  103.     {
  104.         $this->typereclamation $typereclamation;
  105.         return $this;
  106.     }
  107.     public function getEtatreclamation(): ?IctusEtatReclamation
  108.     {
  109.         return $this->etatreclamation;
  110.     }
  111.     public function setEtatreclamation(?IctusEtatReclamation $etatreclamation): self
  112.     {
  113.         $this->etatreclamation $etatreclamation;
  114.         return $this;
  115.     }
  116.     public function getUser(): ?User
  117.     {
  118.         return $this->user;
  119.     }
  120.     public function setUser(?User $user): self
  121.     {
  122.         $this->user $user;
  123.         return $this;
  124.     }
  125.     public function getCommande(): ?IctusCommande
  126.     {
  127.         return $this->commande;
  128.     }
  129.     public function setCommande(?IctusCommande $commande): self
  130.     {
  131.         $this->commande $commande;
  132.         return $this;
  133.     }
  134.     public function getCreatedAt(): ?\DateTimeInterface
  135.     {
  136.         return $this->createdAt;
  137.     }
  138.     public function setCreatedAt(\DateTimeInterface $createdAt): self
  139.     {
  140.         $this->createdAt $createdAt;
  141.         return $this;
  142.     }
  143.     public function getFonctionnality(): ?Fonctionnality
  144.     {
  145.         return $this->fonctionnality;
  146.     }
  147.     public function setFonctionnality(?Fonctionnality $fonctionnality): self
  148.     {
  149.         $this->fonctionnality $fonctionnality;
  150.         return $this;
  151.     }
  152.     public function getPharmacie(): ?IctusPharmacie
  153.     {
  154.         return $this->pharmacie;
  155.     }
  156.     public function setPharmacie(?IctusPharmacie $pharmacie): self
  157.     {
  158.         $this->pharmacie $pharmacie;
  159.         return $this;
  160.     }
  161.     public function getFacture(): ?FacturePatient
  162.     {
  163.         return $this->facture;
  164.     }
  165.     public function setFacture(?FacturePatient $facture): self
  166.     {
  167.         $this->facture $facture;
  168.         return $this;
  169.     }
  170.     public function getHistoriquePaiement(): ?IctusHistoriquePaiement
  171.     {
  172.         return $this->historiquePaiement;
  173.     }
  174.     public function setHistoriquePaiement(?IctusHistoriquePaiement $historiquePaiement): self
  175.     {
  176.         $this->historiquePaiement $historiquePaiement;
  177.         return $this;
  178.     }
  179. }