src/Entity/DisciplineExclusion.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\DisciplineExclusionRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassDisciplineExclusionRepository::class)]
  7. class DisciplineExclusion
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\ManyToOne(inversedBy'disciplineExclusions')]
  14.     #[ORM\JoinColumn(nullablefalse)]
  15.     private ?Student $student null;
  16.     #[ORM\ManyToOne(inversedBy'disciplineExclusions')]
  17.     #[ORM\JoinColumn(nullablefalse)]
  18.     private ?School $school null;
  19.     #[ORM\ManyToOne(inversedBy'disciplineExclusions')]
  20.     #[ORM\JoinColumn(nullablefalse)]
  21.     private ?TheClass $classe null;
  22.     #[ORM\ManyToOne(inversedBy'disciplineExclusions')]
  23.     #[ORM\JoinColumn(nullablefalse)]
  24.     private ?SchoolYear $year null;
  25.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  26.     private ?string $details null;
  27.     #[ORM\ManyToOne(inversedBy'disciplineExclusions')]
  28.     private ?Exams $exam null;
  29.     #[ORM\ManyToOne(inversedBy'disciplineExclusions')]
  30.     private ?Quarter $quarter null;
  31.     #[ORM\Column(length255nullabletrue)]
  32.     private ?string $motif null;
  33.     #[ORM\Column(nullabletrue)]
  34.     private ?bool $annual null;
  35.     public function getId(): ?int
  36.     {
  37.         return $this->id;
  38.     }
  39.     public function getStudent(): ?Student
  40.     {
  41.         return $this->student;
  42.     }
  43.     public function setStudent(?Student $student): static
  44.     {
  45.         $this->student $student;
  46.         return $this;
  47.     }
  48.     public function getSchool(): ?School
  49.     {
  50.         return $this->school;
  51.     }
  52.     public function setSchool(?School $school): static
  53.     {
  54.         $this->school $school;
  55.         return $this;
  56.     }
  57.     public function getClasse(): ?TheClass
  58.     {
  59.         return $this->classe;
  60.     }
  61.     public function setClasse(?TheClass $classe): static
  62.     {
  63.         $this->classe $classe;
  64.         return $this;
  65.     }
  66.     public function getYear(): ?SchoolYear
  67.     {
  68.         return $this->year;
  69.     }
  70.     public function setYear(?SchoolYear $year): static
  71.     {
  72.         $this->year $year;
  73.         return $this;
  74.     }
  75.     public function getOrigin(): ?string
  76.     {
  77.         return $this->origin;
  78.     }
  79.     public function setOrigin(string $origin): static
  80.     {
  81.         $this->origin $origin;
  82.         return $this;
  83.     }
  84.     public function getDetails(): ?string
  85.     {
  86.         return $this->details;
  87.     }
  88.     public function setDetails(?string $details): static
  89.     {
  90.         $this->details $details;
  91.         return $this;
  92.     }
  93.     public function getStatus(): ?int
  94.     {
  95.         return $this->status;
  96.     }
  97.     public function setStatus(int $status): static
  98.     {
  99.         $this->status $status;
  100.         return $this;
  101.     }
  102.     public function getExam(): ?Exams
  103.     {
  104.         return $this->exam;
  105.     }
  106.     public function setExam(?Exams $exam): static
  107.     {
  108.         $this->exam $exam;
  109.         return $this;
  110.     }
  111.     public function getQuarter(): ?Quarter
  112.     {
  113.         return $this->quarter;
  114.     }
  115.     public function setQuarter(?Quarter $quarter): static
  116.     {
  117.         $this->quarter $quarter;
  118.         return $this;
  119.     }
  120.     public function getMotif(): ?string
  121.     {
  122.         return $this->motif;
  123.     }
  124.     public function setMotif(?string $motif): static
  125.     {
  126.         $this->motif $motif;
  127.         return $this;
  128.     }
  129.     public function isAnnual(): ?bool
  130.     {
  131.         return $this->annual;
  132.     }
  133.     public function setAnnual(?bool $annual): static
  134.     {
  135.         $this->annual $annual;
  136.         return $this;
  137.     }
  138. }