<?php
namespace App\Entity;
use App\Repository\FicheLiaisonRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=FicheLiaisonRepository::class)
*/
class FicheLiaison
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=15, nullable=true)
*/
private $reference;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $trimestre;
/**
* @ORM\Column(type="datetime", nullable=true)
*/
private $editionDate;
/**
* @ORM\Column(type="datetime", nullable=true)
*/
private $remboursementDate;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $ticketNb;
/**
* @ORM\Column(type="float", nullable=true)
*/
private $montant;
/**
* @ORM\ManyToOne(targetEntity=Cinema::class, inversedBy="ficheLiaisons")
*/
private $cinema;
/**
* @ORM\Column(type="string", length=4, nullable=true)
*/
private $annee;
public function getId(): ?int
{
return $this->id;
}
public function getReference(): ?string
{
return $this->reference;
}
public function setReference(?string $reference): self
{
$this->reference = $reference;
return $this;
}
public function getTrimestre(): ?int
{
return $this->trimestre;
}
public function setTrimestre(?int $trimestre): self
{
$this->trimestre = $trimestre;
return $this;
}
public function getEditionDate(): ?\DateTimeInterface
{
return $this->editionDate;
}
public function setEditionDate(?\DateTimeInterface $editionDate): self
{
$this->editionDate = $editionDate;
return $this;
}
public function getRemboursementDate(): ?\DateTimeInterface
{
return $this->remboursementDate;
}
public function setRemboursementDate(?\DateTimeInterface $remboursementDate): self
{
$this->remboursementDate = $remboursementDate;
return $this;
}
public function getTicketNb(): ?int
{
return $this->ticketNb;
}
public function setTicketNb(?int $ticketNb): self
{
$this->ticketNb = $ticketNb;
return $this;
}
public function getMontant(): ?float
{
return $this->montant;
}
public function setMontant(?float $montant): self
{
$this->montant = $montant;
return $this;
}
public function getCinema(): ?Cinema
{
return $this->cinema;
}
public function setCinema(?Cinema $cinema): self
{
$this->cinema = $cinema;
return $this;
}
public function getAnnee(): ?string
{
return $this->annee;
}
public function setAnnee(string $annee): self
{
$this->annee = $annee;
return $this;
}
}