<?phpnamespace App\Entity;use App\Repository\WeekSubjectGoalRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: WeekSubjectGoalRepository::class)]class WeekSubjectGoal{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\Column(type: Types::TEXT)] private ?string $goal = null; #[ORM\ManyToOne(inversedBy: 'weekSubjectGoals')] #[ORM\JoinColumn(nullable: false)] private ?ExamWeek $examWeek = null; #[ORM\Column(type: Types::TEXT)] private ?string $comment = null; #[ORM\ManyToOne(inversedBy: 'weekSubjectGoals')] #[ORM\JoinColumn(nullable: false)] private ?Subject $subject = null; #[ORM\Column(nullable: true)] private ?\DateTimeImmutable $madeAt = null; #[ORM\ManyToOne(inversedBy: 'weekSubjectGoals')] #[ORM\JoinColumn(nullable: false)] private ?TheClass $classe = null; #[ORM\ManyToOne(inversedBy: 'weekSubjectGoals')] #[ORM\JoinColumn(nullable: false)] private ?School $school = null; #[ORM\ManyToOne(inversedBy: 'weekSubjectGoals')] #[ORM\JoinColumn(nullable: false)] private ?SchoolYear $year = null; #[ORM\ManyToOne(inversedBy: 'weekGoals')] private ?ProfSchoolPlanner $profSchoolPlanner = null; public function getId(): ?int { return $this->id; } public function getGoal(): ?string { return $this->goal; } public function setGoal(string $goal): static { $this->goal = $goal; return $this; } public function getExamWeek(): ?ExamWeek { return $this->examWeek; } public function setExamWeek(?ExamWeek $examWeek): static { $this->examWeek = $examWeek; return $this; } public function getComment(): ?string { return $this->comment; } public function setComment(?string $comment): static { $this->comment = $comment; return $this; } public function getSubject(): ?Subject { return $this->subject; } public function setSubject(?Subject $subject): static { $this->subject = $subject; return $this; } public function getMadeAt(): ?\DateTimeImmutable { return $this->madeAt; } public function setMadeAt(?\DateTimeImmutable $madeAt): static { $this->madeAt = $madeAt; return $this; } public function getClasse(): ?TheClass { return $this->classe; } public function setClasse(?TheClass $classe): static { $this->classe = $classe; return $this; } public function getSchool(): ?School { return $this->school; } public function setSchool(?School $school): static { $this->school = $school; return $this; } public function getYear(): ?SchoolYear { return $this->year; } public function setYear(?SchoolYear $year): static { $this->year = $year; return $this; } public function getProfSchoolPlanner(): ?ProfSchoolPlanner { return $this->profSchoolPlanner; } public function setProfSchoolPlanner(?ProfSchoolPlanner $profSchoolPlanner): static { $this->profSchoolPlanner = $profSchoolPlanner; return $this; }}