src/Entity/ProgressionDetail.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ProgressionDetailRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassProgressionDetailRepository::class)]
  7. class ProgressionDetail
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(typeTypes::DATE_MUTABLE)]
  14.     private ?\DateTimeInterface $date null;
  15.     #[ORM\ManyToOne]
  16.     private ?Seance $refSeance null;
  17.     #[ORM\ManyToOne]
  18.     private ?PeriodeCle $refPeriodeCle null;
  19.     #[ORM\ManyToOne]
  20.     private ?BlocHeure $refBlocHeure null;
  21.     #[ORM\Column(typeTypes::SMALLINT)]
  22.     private ?int $jour null;
  23.     #[ORM\ManyToOne(inversedBy'refProgressionDetails')]
  24.     #[ORM\JoinColumn(nullablefalse)]
  25.     private ?Progression $refProgression null;
  26.     public function getId(): ?int
  27.     {
  28.         return $this->id;
  29.     }
  30.     public function getDate(): ?\DateTimeInterface
  31.     {
  32.         return $this->date;
  33.     }
  34.     public function setDate(\DateTimeInterface $date): self
  35.     {
  36.         $this->date $date;
  37.         return $this;
  38.     }
  39.     public function getRefSeance(): ?Seance
  40.     {
  41.         return $this->refSeance;
  42.     }
  43.     public function setRefSeance(?Seance $refSeance): self
  44.     {
  45.         $this->refSeance $refSeance;
  46.         return $this;
  47.     }
  48.     public function getRefPeriodeCle(): ?PeriodeCle
  49.     {
  50.         return $this->refPeriodeCle;
  51.     }
  52.     public function setRefPeriodeCle(?PeriodeCle $refPeriodeCle): self
  53.     {
  54.         $this->refPeriodeCle $refPeriodeCle;
  55.         return $this;
  56.     }
  57.     public function getRefBlocHeure(): ?BlocHeure
  58.     {
  59.         return $this->refBlocHeure;
  60.     }
  61.     public function setRefBlocHeure(?BlocHeure $refBlocHeure): self
  62.     {
  63.         $this->refBlocHeure $refBlocHeure;
  64.         return $this;
  65.     }
  66.     public function getJour(): ?int
  67.     {
  68.         return $this->jour;
  69.     }
  70.     public function setJour(int $jour): self
  71.     {
  72.         $this->jour $jour;
  73.         return $this;
  74.     }
  75.     public function getRefProgression(): ?Progression
  76.     {
  77.         return $this->refProgression;
  78.     }
  79.     public function setRefProgression(?Progression $refProgression): self
  80.     {
  81.         $this->refProgression $refProgression;
  82.         return $this;
  83.     }
  84. }