src/Entity/DisciplineConcile.php line 10

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