src/Entity/WeekSubjectGoal.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\WeekSubjectGoalRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassWeekSubjectGoalRepository::class)]
  7. class WeekSubjectGoal
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(typeTypes::TEXT)]
  14.     private ?string $goal null;
  15.     #[ORM\ManyToOne(inversedBy'weekSubjectGoals')]
  16.     #[ORM\JoinColumn(nullablefalse)]
  17.     private ?ExamWeek $examWeek null;
  18.     #[ORM\Column(typeTypes::TEXT)]
  19.     private ?string $comment null;
  20.     #[ORM\ManyToOne(inversedBy'weekSubjectGoals')]
  21.     #[ORM\JoinColumn(nullablefalse)]
  22.     private ?Subject $subject null;
  23.     #[ORM\Column(nullabletrue)]
  24.     private ?\DateTimeImmutable $madeAt null;
  25.     #[ORM\ManyToOne(inversedBy'weekSubjectGoals')]
  26.     #[ORM\JoinColumn(nullablefalse)]
  27.     private ?TheClass $classe null;
  28.     #[ORM\ManyToOne(inversedBy'weekSubjectGoals')]
  29.     #[ORM\JoinColumn(nullablefalse)]
  30.     private ?School $school null;
  31.     #[ORM\ManyToOne(inversedBy'weekSubjectGoals')]
  32.     #[ORM\JoinColumn(nullablefalse)]
  33.     private ?SchoolYear $year null;
  34.     #[ORM\ManyToOne(inversedBy'weekGoals')]
  35.     private ?ProfSchoolPlanner $profSchoolPlanner null;
  36.     public function getId(): ?int
  37.     {
  38.         return $this->id;
  39.     }
  40.     public function getGoal(): ?string
  41.     {
  42.         return $this->goal;
  43.     }
  44.     public function setGoal(string $goal): static
  45.     {
  46.         $this->goal $goal;
  47.         return $this;
  48.     }
  49.     public function getExamWeek(): ?ExamWeek
  50.     {
  51.         return $this->examWeek;
  52.     }
  53.     public function setExamWeek(?ExamWeek $examWeek): static
  54.     {
  55.         $this->examWeek $examWeek;
  56.         return $this;
  57.     }
  58.     public function getComment(): ?string
  59.     {
  60.         return $this->comment;
  61.     }
  62.     public function setComment(?string $comment): static
  63.     {
  64.         $this->comment $comment;
  65.         return $this;
  66.     }
  67.     public function getSubject(): ?Subject
  68.     {
  69.         return $this->subject;
  70.     }
  71.     public function setSubject(?Subject $subject): static
  72.     {
  73.         $this->subject $subject;
  74.         return $this;
  75.     }
  76.     public function getMadeAt(): ?\DateTimeImmutable
  77.     {
  78.         return $this->madeAt;
  79.     }
  80.     public function setMadeAt(?\DateTimeImmutable $madeAt): static
  81.     {
  82.         $this->madeAt $madeAt;
  83.         return $this;
  84.     }
  85.     public function getClasse(): ?TheClass
  86.     {
  87.         return $this->classe;
  88.     }
  89.     public function setClasse(?TheClass $classe): static
  90.     {
  91.         $this->classe $classe;
  92.         return $this;
  93.     }
  94.     public function getSchool(): ?School
  95.     {
  96.         return $this->school;
  97.     }
  98.     public function setSchool(?School $school): static
  99.     {
  100.         $this->school $school;
  101.         return $this;
  102.     }
  103.     public function getYear(): ?SchoolYear
  104.     {
  105.         return $this->year;
  106.     }
  107.     public function setYear(?SchoolYear $year): static
  108.     {
  109.         $this->year $year;
  110.         return $this;
  111.     }
  112.     public function getProfSchoolPlanner(): ?ProfSchoolPlanner
  113.     {
  114.         return $this->profSchoolPlanner;
  115.     }
  116.     public function setProfSchoolPlanner(?ProfSchoolPlanner $profSchoolPlanner): static
  117.     {
  118.         $this->profSchoolPlanner $profSchoolPlanner;
  119.         return $this;
  120.     }
  121. }