<?phpnamespace App\Entity;use App\Repository\AbsenceExclusionConfigRepository;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: AbsenceExclusionConfigRepository::class)]class AbsenceExclusionConfig{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\Column(nullable: true)] private ?int $start = null; #[ORM\Column(nullable: true)] private ?int $end = null; #[ORM\Column(nullable: true)] private ?int $dayForInterval = null; #[ORM\ManyToOne(inversedBy: 'absenceExclusionConfigs')] #[ORM\JoinColumn(nullable: false)] private ?School $school = null; #[ORM\ManyToOne(inversedBy: 'absenceExclusionConfigs')] #[ORM\JoinColumn(nullable: false)] private ?SchoolYear $year = null; #[ORM\Column(nullable: true)] private ?int $day = null; #[ORM\Column(nullable: true)] private ?int $absence = null; #[ORM\ManyToOne(inversedBy: 'absenceExclusionConfigs')] #[ORM\JoinColumn(nullable: false)] private ?User $author = null; public function getId(): ?int { return $this->id; } public function getStart(): ?int { return $this->start; } public function setStart(?int $start): static { $this->start = $start; return $this; } public function getEnd(): ?int { return $this->end; } public function setEnd(?int $end): static { $this->end = $end; return $this; } public function getDayForInterval(): ?int { return $this->dayForInterval; } public function setDayForInterval(?int $dayForInterval): static { $this->dayForInterval = $dayForInterval; 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 getDay(): ?int { return $this->day; } public function setDay(?int $day): static { $this->day = $day; return $this; } public function getAbsence(): ?int { return $this->absence; } public function setAbsence(?int $absence): static { $this->absence = $absence; return $this; } public function getAuthor(): ?User { return $this->author; } public function setAuthor(?User $author): static { $this->author = $author; return $this; }}