src/Entity/RetainedExclusionConfig.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\RetainedExclusionConfigRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassRetainedExclusionConfigRepository::class)]
  6. class RetainedExclusionConfig
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column]
  11.     private ?int $id null;
  12.     #[ORM\Column(nullabletrue)]
  13.     private ?int $retained null;
  14.     #[ORM\Column(nullabletrue)]
  15.     private ?int $day null;
  16.     #[ORM\ManyToOne(inversedBy'retainedExclusionConfigs')]
  17.     #[ORM\JoinColumn(nullablefalse)]
  18.     private ?School $school null;
  19.     #[ORM\ManyToOne]
  20.     #[ORM\JoinColumn(nullablefalse)]
  21.     private ?SchoolYear $year null;
  22.     #[ORM\Column(nullabletrue)]
  23.     private ?int $start null;
  24.     #[ORM\Column(nullabletrue)]
  25.     private ?int $end null;
  26.     #[ORM\Column(nullabletrue)]
  27.     private ?int $dayForInterval null;
  28.     public function getId(): ?int
  29.     {
  30.         return $this->id;
  31.     }
  32.     public function getRetained(): ?int
  33.     {
  34.         return $this->retained;
  35.     }
  36.     public function setRetained(?int $retained): static
  37.     {
  38.         $this->retained $retained;
  39.         return $this;
  40.     }
  41.     public function getDay(): ?int
  42.     {
  43.         return $this->day;
  44.     }
  45.     public function setDay(?int $day): static
  46.     {
  47.         $this->day $day;
  48.         return $this;
  49.     }
  50.     public function getSchool(): ?School
  51.     {
  52.         return $this->school;
  53.     }
  54.     public function setSchool(?School $school): static
  55.     {
  56.         $this->school $school;
  57.         return $this;
  58.     }
  59.     public function getYear(): ?SchoolYear
  60.     {
  61.         return $this->year;
  62.     }
  63.     public function setYear(?SchoolYear $year): static
  64.     {
  65.         $this->year $year;
  66.         return $this;
  67.     }
  68.     public function getStart(): ?int
  69.     {
  70.         return $this->start;
  71.     }
  72.     public function setStart(?int $start): static
  73.     {
  74.         $this->start $start;
  75.         return $this;
  76.     }
  77.     public function getEnd(): ?int
  78.     {
  79.         return $this->end;
  80.     }
  81.     public function setEnd(?int $end): static
  82.     {
  83.         $this->end $end;
  84.         return $this;
  85.     }
  86.     public function getDayForInterval(): ?int
  87.     {
  88.         return $this->dayForInterval;
  89.     }
  90.     public function setDayForInterval(?int $dayForInterval): static
  91.     {
  92.         $this->dayForInterval $dayForInterval;
  93.         return $this;
  94.     }
  95. }