<?php
namespace App\Entity;
use App\Repository\FilmProjectChangeHistoryRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: FilmProjectChangeHistoryRepository::class)]
class FilmProjectChangeHistory
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(nullable: true)]
private ?array $historyChange = null;
#[ORM\Column(type: 'datetime',nullable: true)]
private $createdAt = null;
#[ORM\Column(type: 'datetime',nullable: true)]
private $modifiedAt = null;
#[ORM\ManyToOne(inversedBy: 'filmProjectChangeHistories')]
private ?FilmProject $filmProject = null;
public function getId(): ?int
{
return $this->id;
}
public function getHistoryChange(): ?array
{
return $this->historyChange;
}
public function setHistoryChange(?array $historyChange): static
{
$this->historyChange = $historyChange;
return $this;
}
public function getCreatedAt(): ?\DateTimeInterface
{
return $this->createdAt;
}
public function setCreatedAt(?\DateTimeInterface $createdAt): static
{
$this->createdAt = $createdAt;
return $this;
}
public function getModifiedAt(): ?\DateTimeInterface
{
return $this->modifiedAt;
}
public function setModifiedAt(?\DateTimeInterface $modifiedAt): static
{
$this->modifiedAt = $modifiedAt;
return $this;
}
public function getFilmProject(): ?FilmProject
{
return $this->filmProject;
}
public function setFilmProject(?FilmProject $filmProject): static
{
$this->filmProject = $filmProject;
return $this;
}
}