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.     #[ORM\Column(nullabletrue)]
  39.     private ?bool $annual null;
  40.     public function getId(): ?int
  41.     {
  42.         return $this->id;
  43.     }
  44.     public function getStudent(): ?Student
  45.     {
  46.         return $this->student;
  47.     }
  48.     public function setStudent(?Student $student): static
  49.     {
  50.         $this->student $student;
  51.         return $this;
  52.     }
  53.     public function getSchool(): ?School
  54.     {
  55.         return $this->school;
  56.     }
  57.     public function setSchool(?School $school): static
  58.     {
  59.         $this->school $school;
  60.         return $this;
  61.     }
  62.     public function getYear(): ?SchoolYear
  63.     {
  64.         return $this->year;
  65.     }
  66.     public function setYear(?SchoolYear $year): static
  67.     {
  68.         $this->year $year;
  69.         return $this;
  70.     }
  71.     public function getDetails(): ?string
  72.     {
  73.         return $this->details;
  74.     }
  75.     public function setDetails(?string $details): static
  76.     {
  77.         $this->details $details;
  78.         return $this;
  79.     }
  80.     public function getMotif(): ?string
  81.     {
  82.         return $this->motif;
  83.     }
  84.     public function setMotif(?string $motif): static
  85.     {
  86.         $this->motif $motif;
  87.         return $this;
  88.     }
  89.     public function getQuarter(): ?Quarter
  90.     {
  91.         return $this->quarter;
  92.     }
  93.     public function setQuarter(?Quarter $quarter): static
  94.     {
  95.         $this->quarter $quarter;
  96.         return $this;
  97.     }
  98.     public function getExam(): ?Exams
  99.     {
  100.         return $this->exam;
  101.     }
  102.     public function setExam(?Exams $exam): static
  103.     {
  104.         $this->exam $exam;
  105.         return $this;
  106.     }
  107.     public function getClasse(): ?TheClass
  108.     {
  109.         return $this->classe;
  110.     }
  111.     public function setClasse(?TheClass $classe): static
  112.     {
  113.         $this->classe $classe;
  114.         return $this;
  115.     }
  116.     public function getAuthor(): ?User
  117.     {
  118.         return $this->author;
  119.     }
  120.     public function setAuthor(?User $author): static
  121.     {
  122.         $this->author $author;
  123.         return $this;
  124.     }
  125.     public function getEditor(): ?User
  126.     {
  127.         return $this->editor;
  128.     }
  129.     public function setEditor(?User $editor): static
  130.     {
  131.         $this->editor $editor;
  132.         return $this;
  133.     }
  134.     public function isAnnual(): ?bool
  135.     {
  136.         return $this->annual;
  137.     }
  138.     public function setAnnual(?bool $annual): static
  139.     {
  140.         $this->annual $annual;
  141.         return $this;
  142.     }
  143. }