src/Entity/FicheLiaison.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\FicheLiaisonRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=FicheLiaisonRepository::class)
  7.  */
  8. class FicheLiaison
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="string", length=15, nullable=true)
  18.      */
  19.     private $reference;
  20.     /**
  21.      * @ORM\Column(type="integer", nullable=true)
  22.      */
  23.     private $trimestre;
  24.     /**
  25.      * @ORM\Column(type="datetime", nullable=true)
  26.      */
  27.     private $editionDate;
  28.     /**
  29.      * @ORM\Column(type="datetime", nullable=true)
  30.      */
  31.     private $remboursementDate;
  32.     /**
  33.      * @ORM\Column(type="integer", nullable=true)
  34.      */
  35.     private $ticketNb;
  36.     /**
  37.      * @ORM\Column(type="float", nullable=true)
  38.      */
  39.     private $montant;
  40.     /**
  41.      * @ORM\ManyToOne(targetEntity=Cinema::class, inversedBy="ficheLiaisons")
  42.      */
  43.     private $cinema;
  44.     /**
  45.      * @ORM\Column(type="string", length=4, nullable=true)
  46.      */
  47.     private $annee;
  48.     public function getId(): ?int
  49.     {
  50.         return $this->id;
  51.     }
  52.     public function getReference(): ?string
  53.     {
  54.         return $this->reference;
  55.     }
  56.     public function setReference(?string $reference): self
  57.     {
  58.         $this->reference $reference;
  59.         return $this;
  60.     }
  61.     public function getTrimestre(): ?int
  62.     {
  63.         return $this->trimestre;
  64.     }
  65.     public function setTrimestre(?int $trimestre): self
  66.     {
  67.         $this->trimestre $trimestre;
  68.         return $this;
  69.     }
  70.     public function getEditionDate(): ?\DateTimeInterface
  71.     {
  72.         return $this->editionDate;
  73.     }
  74.     public function setEditionDate(?\DateTimeInterface $editionDate): self
  75.     {
  76.         $this->editionDate $editionDate;
  77.         return $this;
  78.     }
  79.     public function getRemboursementDate(): ?\DateTimeInterface
  80.     {
  81.         return $this->remboursementDate;
  82.     }
  83.     public function setRemboursementDate(?\DateTimeInterface $remboursementDate): self
  84.     {
  85.         $this->remboursementDate $remboursementDate;
  86.         return $this;
  87.     }
  88.     public function getTicketNb(): ?int
  89.     {
  90.         return $this->ticketNb;
  91.     }
  92.     public function setTicketNb(?int $ticketNb): self
  93.     {
  94.         $this->ticketNb $ticketNb;
  95.         return $this;
  96.     }
  97.     public function getMontant(): ?float
  98.     {
  99.         return $this->montant;
  100.     }
  101.     public function setMontant(?float $montant): self
  102.     {
  103.         $this->montant $montant;
  104.         return $this;
  105.     }
  106.     public function getCinema(): ?Cinema
  107.     {
  108.         return $this->cinema;
  109.     }
  110.     public function setCinema(?Cinema $cinema): self
  111.     {
  112.         $this->cinema $cinema;
  113.         return $this;
  114.     }
  115.     public function getAnnee(): ?string
  116.     {
  117.         return $this->annee;
  118.     }
  119.     public function setAnnee(string $annee): self
  120.     {
  121.         $this->annee $annee;
  122.         return $this;
  123.     }
  124. }