src/Entity/IctusReclamation.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use App\Repository\IctusReclamationRepository;
  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 __construct()
  68.     {
  69.         $this->createdAt = new \DateTime("now");
  70.     }
  71.     public function getId(): ?int
  72.     {
  73.         return $this->id;
  74.     }
  75.     public function getMumeroticket(): ?int
  76.     {
  77.         return $this->mumeroticket;
  78.     }
  79.     public function setMumeroticket(?int $mumeroticket): self
  80.     {
  81.         $this->mumeroticket $mumeroticket;
  82.         return $this;
  83.     }
  84.     public function getDescription(): ?string
  85.     {
  86.         return $this->description;
  87.     }
  88.     public function setDescription(string $description): self
  89.     {
  90.         $this->description $description;
  91.         return $this;
  92.     }
  93.     public function getObjet(): ?string
  94.     {
  95.         return $this->objet;
  96.     }
  97.     public function setObjet(string $objet): self
  98.     {
  99.         $this->objet $objet;
  100.         return $this;
  101.     }
  102.     public function getTypereclamation(): ?IctusTypeReclamation
  103.     {
  104.         return $this->typereclamation;
  105.     }
  106.     public function setTypereclamation(?IctusTypeReclamation $typereclamation): self
  107.     {
  108.         $this->typereclamation $typereclamation;
  109.         return $this;
  110.     }
  111.     public function getEtatreclamation(): ?IctusEtatReclamation
  112.     {
  113.         return $this->etatreclamation;
  114.     }
  115.     public function setEtatreclamation(?IctusEtatReclamation $etatreclamation): self
  116.     {
  117.         $this->etatreclamation $etatreclamation;
  118.         return $this;
  119.     }
  120.     public function getUser(): ?User
  121.     {
  122.         return $this->user;
  123.     }
  124.     public function setUser(?User $user): self
  125.     {
  126.         $this->user $user;
  127.         return $this;
  128.     }
  129.     public function getCommande(): ?IctusCommande
  130.     {
  131.         return $this->commande;
  132.     }
  133.     public function setCommande(?IctusCommande $commande): self
  134.     {
  135.         $this->commande $commande;
  136.         return $this;
  137.     }
  138.     public function getCreatedAt(): ?\DateTimeInterface
  139.     {
  140.         return $this->createdAt;
  141.     }
  142.     public function setCreatedAt(\DateTimeInterface $createdAt): self
  143.     {
  144.         $this->createdAt $createdAt;
  145.         return $this;
  146.     }
  147.     public function getFonctionnality(): ?Fonctionnality
  148.     {
  149.         return $this->fonctionnality;
  150.     }
  151.     public function setFonctionnality(?Fonctionnality $fonctionnality): self
  152.     {
  153.         $this->fonctionnality $fonctionnality;
  154.         return $this;
  155.     }
  156.     public function getPharmacie(): ?IctusPharmacie
  157.     {
  158.         return $this->pharmacie;
  159.     }
  160.     public function setPharmacie(?IctusPharmacie $pharmacie): self
  161.     {
  162.         $this->pharmacie $pharmacie;
  163.         return $this;
  164.     }
  165.     public function getFacture(): ?FacturePatient
  166.     {
  167.         return $this->facture;
  168.     }
  169.     public function setFacture(?FacturePatient $facture): self
  170.     {
  171.         $this->facture $facture;
  172.         return $this;
  173.     }
  174.     public function getHistoriquePaiement(): ?IctusHistoriquePaiement
  175.     {
  176.         return $this->historiquePaiement;
  177.     }
  178.     public function setHistoriquePaiement(?IctusHistoriquePaiement $historiquePaiement): self
  179.     {
  180.         $this->historiquePaiement $historiquePaiement;
  181.         return $this;
  182.     }
  183. }