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.     public function getId(): ?int
  34.     {
  35.         return $this->id;
  36.     }
  37.     public function getStudent(): ?Student
  38.     {
  39.         return $this->student;
  40.     }
  41.     public function setStudent(?Student $student): static
  42.     {
  43.         $this->student $student;
  44.         return $this;
  45.     }
  46.     public function getSchool(): ?School
  47.     {
  48.         return $this->school;
  49.     }
  50.     public function setSchool(?School $school): static
  51.     {
  52.         $this->school $school;
  53.         return $this;
  54.     }
  55.     public function getClasse(): ?TheClass
  56.     {
  57.         return $this->classe;
  58.     }
  59.     public function setClasse(?TheClass $classe): static
  60.     {
  61.         $this->classe $classe;
  62.         return $this;
  63.     }
  64.     public function getYear(): ?SchoolYear
  65.     {
  66.         return $this->year;
  67.     }
  68.     public function setYear(?SchoolYear $year): static
  69.     {
  70.         $this->year $year;
  71.         return $this;
  72.     }
  73.     public function getOrigin(): ?string
  74.     {
  75.         return $this->origin;
  76.     }
  77.     public function setOrigin(string $origin): static
  78.     {
  79.         $this->origin $origin;
  80.         return $this;
  81.     }
  82.     public function getDetails(): ?string
  83.     {
  84.         return $this->details;
  85.     }
  86.     public function setDetails(?string $details): static
  87.     {
  88.         $this->details $details;
  89.         return $this;
  90.     }
  91.     public function getStatus(): ?int
  92.     {
  93.         return $this->status;
  94.     }
  95.     public function setStatus(int $status): static
  96.     {
  97.         $this->status $status;
  98.         return $this;
  99.     }
  100.     public function getExam(): ?Exams
  101.     {
  102.         return $this->exam;
  103.     }
  104.     public function setExam(?Exams $exam): static
  105.     {
  106.         $this->exam $exam;
  107.         return $this;
  108.     }
  109.     public function getQuarter(): ?Quarter
  110.     {
  111.         return $this->quarter;
  112.     }
  113.     public function setQuarter(?Quarter $quarter): static
  114.     {
  115.         $this->quarter $quarter;
  116.         return $this;
  117.     }
  118.     public function getMotif(): ?string
  119.     {
  120.         return $this->motif;
  121.     }
  122.     public function setMotif(?string $motif): static
  123.     {
  124.         $this->motif $motif;
  125.         return $this;
  126.     }
  127. }