src/Entity/Event.php line 10
<?phpnamespace App\Entity;use App\Repository\EventRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: EventRepository::class)]class Event{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\Column(length: 255)]private ?string $title = null;#[ORM\Column]private ?\DateTimeImmutable $startAt = null;#[ORM\Column]private ?\DateTimeImmutable $endAt = null;#[ORM\Column(type: Types::TEXT)]private ?string $description = null;#[ORM\Column]private ?\DateTimeImmutable $hourAt = null;#[ORM\Column]private ?\DateTimeImmutable $hourEnd = null;#[ORM\Column(length: 70)]private ?string $text_Color = null;#[ORM\Column(length: 70)]private ?string $border_Color = null;public function getId(): ?int{return $this->id;}public function getTitle(): ?string{return $this->title;}public function setTitle(string $title): static{$this->title = $title;return $this;}public function getStartAt(): ?\DateTimeImmutable{return $this->startAt;}public function setStartAt(\DateTimeImmutable $startAt): static{$this->startAt = $startAt;return $this;}public function getEndAt(): ?\DateTimeImmutable{return $this->endAt;}public function setEndAt(\DateTimeImmutable $endAt): static{$this->endAt = $endAt;return $this;}public function getDescription(): ?string{return $this->description;}public function setDescription(string $description): static{$this->description = $description;return $this;}public function getHourAt(): ?\DateTimeImmutable{return $this->hourAt;}public function setHourAt(\DateTimeImmutable $hourAt): static{$this->hourAt = $hourAt;return $this;}public function getHourEnd(): ?\DateTimeImmutable{return $this->hourEnd;}public function setHourEnd(\DateTimeImmutable $hourEnd): static{$this->hourEnd = $hourEnd;return $this;}public function getTextColor(): ?string{return $this->text_Color;}public function setTextColor(string $text_Color): static{$this->text_Color = $text_Color;return $this;}public function getBorderColor(): ?string{return $this->border_Color;}public function setBorderColor(string $border_Color): static{$this->border_Color = $border_Color;return $this;}}