<?phpnamespace App\Entity;use App\Entity\Traits\Timestampable;use App\Repository\UserUnreadRepository;use Doctrine\ORM\Mapping as ORM;#[ORM\HasLifecycleCallbacks]#[ORM\Entity(repositoryClass: UserUnreadRepository::class)]class UserUnread{ use Timestampable; #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\ManyToOne(inversedBy: 'notifications')] private ?User $user = null; #[ORM\Column(nullable: true)] private ?int $absenceLastConnectionCount = null; #[ORM\Column(nullable: true)] private ?int $lateLastConnectionCount = null; #[ORM\Column(nullable: true)] private ?int $homeworkLastConnectionCount = null; #[ORM\Column(nullable: true)] private ?int $noteLastConnectionCount = null; #[ORM\Column(nullable: true)] private ?int $blogLastConnectionCount = null; #[ORM\Column(nullable: true)] private ?int $eventLastConnectionCount = null; #[ORM\Column(nullable: true)] private ?int $discussionMessageLastConnectionCount = null; #[ORM\Column(nullable: true)] private ?int $punishLastConnectionCount = null; #[ORM\Column(nullable: true)] private ?int $docInfoLastConnectionCount = null; public function getId(): ?int { return $this->id; } public function getUser(): ?User { return $this->user; } public function setUser(?User $user): static { $this->user = $user; return $this; } public function getAbsenceLastConnectionCount(): ?int { return $this->absenceLastConnectionCount; } public function setAbsenceLastConnectionCount(int $absenceLastConnectionCount): static { $this->absenceLastConnectionCount = $absenceLastConnectionCount; return $this; } public function getLateLastConnectionCount(): ?int { return $this->lateLastConnectionCount; } public function setLateLastConnectionCount(?int $lateLastConnectionCount): static { $this->lateLastConnectionCount = $lateLastConnectionCount; return $this; } public function getHomeworkLastConnectionCount(): ?int { return $this->homeworkLastConnectionCount; } public function setHomeworkLastConnectionCount(?int $homeworkLastConnectionCount): static { $this->homeworkLastConnectionCount = $homeworkLastConnectionCount; return $this; } public function getNoteLastConnectionCount(): ?int { return $this->noteLastConnectionCount; } public function setNoteLastConnectionCount(?int $noteLastConnectionCount): static { $this->noteLastConnectionCount = $noteLastConnectionCount; return $this; } public function getBlogLastConnectionCount(): ?int { return $this->blogLastConnectionCount; } public function setBlogLastConnectionCount(?int $blogLastConnectionCount): static { $this->blogLastConnectionCount = $blogLastConnectionCount; return $this; } public function getEventLastConnectionCount(): ?int { return $this->eventLastConnectionCount; } public function setEventLastConnectionCount(?int $eventLastConnectionCount): static { $this->eventLastConnectionCount = $eventLastConnectionCount; return $this; } public function getDiscussionMessageLastConnectionCount(): ?int { return $this->discussionMessageLastConnectionCount; } public function setDiscussionMessageLastConnectionCount(?int $discussionMessageLastConnectionCount): static { $this->discussionMessageLastConnectionCount = $discussionMessageLastConnectionCount; return $this; } public function getPunishLastConnectionCount(): ?int { return $this->punishLastConnectionCount; } public function setPunishLastConnectionCount(?int $punishLastConnectionCount): static { $this->punishLastConnectionCount = $punishLastConnectionCount; return $this; } public function getDocInfoLastConnectionCount(): ?int { return $this->docInfoLastConnectionCount; } public function setDocInfoLastConnectionCount(?int $docInfoLastConnectionCount): static { $this->docInfoLastConnectionCount = $docInfoLastConnectionCount; return $this; }}