<?phpnamespace App\Entity;use App\Repository\ClientNotificationRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: ClientNotificationRepository::class)]class ClientNotification{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\ManyToOne(inversedBy: 'clientNotifications')] #[ORM\JoinColumn(nullable: false)] private ?Client $client = null; #[ORM\Column(length: 255)] private ?string $title = null; #[ORM\Column(type: Types::TEXT)] private ?string $notificationText = null; #[ORM\Column] private ?\DateTime $createdAt = null; #[ORM\Column] private ?bool $notificationRead = null; #[ORM\Column(nullable:true)] private ?string $type; public function getType(): ?string { return $this->type; } public function setType(string $type): static { $this->type = $type; return $this; } public function getId(): ?int { return $this->id; } public function getClient(): ?Client { return $this->client; } public function setClient(?Client $client): static { $this->client = $client; return $this; } public function getTitle(): ?string { return $this->title; } public function setTitle(string $title): static { $this->title = $title; return $this; } public function getNotificationText(): ?string { return $this->notificationText; } public function setNotificationText(string $notificationText): static { $this->notificationText = $notificationText; return $this; } public function getCreatedAt(): ?\DateTime { return $this->createdAt; } public function setCreatedAt(\DateTime $createdAt): static { $this->createdAt = $createdAt; return $this; } public function isNotificationRead(): ?bool { return $this->notificationRead; } public function setNotificationRead(bool $notificationRead): static { $this->notificationRead = $notificationRead; return $this; }}