<?php
namespace App\Entity;
use App\Repository\Actuv2NewYearRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: Actuv2NewYearRepository::class)]
class Actuv2NewYear
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private $id;
#[ORM\Column(type: 'date', nullable: true)]
private $date;
#[ORM\Column(type: 'text')]
private $citation;
#[ORM\Column(type: 'string', length: 255)]
private $author;
#[ORM\Column(type: 'datetime', nullable: true)]
private $updatedAt;
public function getId(): ?int
{
return $this->id;
}
public function getDate(): ?\DateTimeInterface
{
return $this->date;
}
public function setDate(?\DateTimeInterface $date): self
{
$this->date = $date;
return $this;
}
public function getCitation(): ?string
{
return $this->citation;
}
public function setCitation(string $citation): self
{
$this->citation = $citation;
return $this;
}
public function getAuthor(): ?string
{
return $this->author;
}
public function setAuthor(string $author): self
{
$this->author = $author;
return $this;
}
public function getUpdatedAt(): ?\DateTimeInterface
{
return $this->updatedAt;
}
public function setUpdatedAt(?\DateTimeInterface $updatedAt): self
{
$this->updatedAt = $updatedAt;
return $this;
}
}