<?phpnamespace App\Entity;use App\Repository\AttendanceMissedRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: AttendanceMissedRepository::class)]class AttendanceMissed{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\Column(type: Types::DATE_MUTABLE)] private ?\DateTimeInterface $missedDate = null; #[ORM\ManyToOne(inversedBy: 'attendanceMisseds')] #[ORM\JoinColumn(nullable: false, onDelete: 'CASCADE')] private ?AgendaElement $agendaElement = null; #[ORM\Column(type: Types::TIME_MUTABLE)] private ?\DateTimeInterface $statrtAt = null; #[ORM\Column(type: Types::TIME_MUTABLE, nullable: true)] private ?\DateTimeInterface $endAt = null; #[ORM\ManyToOne(inversedBy: 'attendanceMisseds')] #[ORM\JoinColumn(nullable: false)] private ?SchoolYear $year = null; #[ORM\ManyToOne(inversedBy: 'attendanceMisseds')] #[ORM\JoinColumn(nullable: false)] private ?School $school = null; public function getId(): ?int { return $this->id; } public function getMissedDate(): ?\DateTimeInterface { return $this->missedDate; } public function setMissedDate(\DateTimeInterface $missedDate): static { $this->missedDate = $missedDate; return $this; } public function getAgendaElement(): ?AgendaElement { return $this->agendaElement; } public function setAgendaElement(?AgendaElement $agendaElement): static { $this->agendaElement = $agendaElement; return $this; } public function getStatrtAt(): ?\DateTimeInterface { return $this->statrtAt; } public function setStatrtAt(\DateTimeInterface $statrtAt): static { $this->statrtAt = $statrtAt; return $this; } public function getEndAt(): ?\DateTimeInterface { return $this->endAt; } public function setEndAt(?\DateTimeInterface $endAt): static { $this->endAt = $endAt; return $this; } public function getYear(): ?SchoolYear { return $this->year; } public function setYear(?SchoolYear $year): static { $this->year = $year; return $this; } public function getSchool(): ?School { return $this->school; } public function setSchool(?School $school): static { $this->school = $school; return $this; }}