<?php
namespace App\Entity;
use App\Repository\FilmProjectTimelineRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: FilmProjectTimelineRepository::class)]
class FilmProjectTimeline
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private $id;
#[ORM\Column(type: 'datetime', nullable: true)]
private $developmentTimeline;
#[ORM\Column(type: 'datetime', nullable: true)]
private $productionTimeline;
#[ORM\Column(type: 'datetime', nullable: true)]
private $postProductionTimeline;
#[ORM\Column(type: 'datetime', nullable: true)]
private $completionTimeline;
#[ORM\Column(type: 'datetime', nullable: true)]
private $fundraisingCampaignStartDate;
#[ORM\Column(type: 'datetime', nullable: true)]
private $fundraisingCampaignEndDate;
#[ORM\Column(type: 'datetime', nullable: true)]
private $impactCampaignStartDate;
#[ORM\Column(type: 'datetime', nullable: true)]
private $impactCampaignEndDate;
#[ORM\OneToOne(inversedBy: 'filmProjectTimeline', targetEntity: FilmProject::class, cascade: ['persist', 'remove'])]
private $filmProject;
public function getId(): ?int
{
return $this->id;
}
public function getDevelopmentTimeline(): ?\DateTimeInterface
{
return $this->developmentTimeline;
}
public function setDevelopmentTimeline(?\DateTimeInterface $developmentTimeline): self
{
$this->developmentTimeline = $developmentTimeline;
return $this;
}
public function getProductionTimeline(): ?\DateTimeInterface
{
return $this->productionTimeline;
}
public function setProductionTimeline(?\DateTimeInterface $productionTimeline): self
{
$this->productionTimeline = $productionTimeline;
return $this;
}
public function getPostProductionTimeline(): ?\DateTimeInterface
{
return $this->postProductionTimeline;
}
public function setPostProductionTimeline(?\DateTimeInterface $postProductionTimeline): self
{
$this->postProductionTimeline = $postProductionTimeline;
return $this;
}
public function getCompletionTimeline(): ?\DateTimeInterface
{
return $this->completionTimeline;
}
public function setCompletionTimeline(?\DateTimeInterface $completionTimeline): self
{
$this->completionTimeline = $completionTimeline;
return $this;
}
public function getFundraisingCampaignStartDate(): ?\DateTimeInterface
{
return $this->fundraisingCampaignStartDate;
}
public function setFundraisingCampaignStartDate(?\DateTimeInterface $fundraisingCampaignStartDate): self
{
$this->fundraisingCampaignStartDate = $fundraisingCampaignStartDate;
return $this;
}
public function getFundraisingCampaignEndDate(): ?\DateTimeInterface
{
return $this->fundraisingCampaignEndDate;
}
public function setFundraisingCampaignEndDate(?\DateTimeInterface $fundraisingCampaignEndDate): self
{
$this->fundraisingCampaignEndDate = $fundraisingCampaignEndDate;
return $this;
}
public function getImpactCampaignStartDate(): ?\DateTimeInterface
{
return $this->impactCampaignStartDate;
}
public function setImpactCampaignStartDate(?\DateTimeInterface $impactCampaignStartDate): self
{
$this->impactCampaignStartDate = $impactCampaignStartDate;
return $this;
}
public function getImpactCampaignEndDate(): ?\DateTimeInterface
{
return $this->impactCampaignEndDate;
}
public function setImpactCampaignEndDate(?\DateTimeInterface $impactCampaignEndDate): self
{
$this->impactCampaignEndDate = $impactCampaignEndDate;
return $this;
}
public function getFilmProject(): ?FilmProject
{
return $this->filmProject;
}
public function setFilmProject(?FilmProject $filmProject): self
{
$this->filmProject = $filmProject;
return $this;
}
}