src/Entity/FilmProjectTimeline.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\FilmProjectTimelineRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassFilmProjectTimelineRepository::class)]
  6. class FilmProjectTimeline
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column(type'integer')]
  11.     private $id;
  12.     #[ORM\Column(type'datetime'nullabletrue)]
  13.     private $developmentTimeline;
  14.     #[ORM\Column(type'datetime'nullabletrue)]
  15.     private $productionTimeline;
  16.     #[ORM\Column(type'datetime'nullabletrue)]
  17.     private $postProductionTimeline;
  18.     #[ORM\Column(type'datetime'nullabletrue)]
  19.     private $completionTimeline;
  20.     #[ORM\Column(type'datetime'nullabletrue)]
  21.     private $fundraisingCampaignStartDate;
  22.     #[ORM\Column(type'datetime'nullabletrue)]
  23.     private $fundraisingCampaignEndDate;
  24.     #[ORM\Column(type'datetime'nullabletrue)]
  25.     private $impactCampaignStartDate;
  26.     #[ORM\Column(type'datetime'nullabletrue)]
  27.     private $impactCampaignEndDate;
  28.     #[ORM\OneToOne(inversedBy'filmProjectTimeline'targetEntityFilmProject::class, cascade: ['persist''remove'])]
  29.     private $filmProject;
  30.     public function getId(): ?int
  31.     {
  32.         return $this->id;
  33.     }
  34.     public function getDevelopmentTimeline(): ?\DateTimeInterface
  35.     {
  36.         return $this->developmentTimeline;
  37.     }
  38.     public function setDevelopmentTimeline(?\DateTimeInterface $developmentTimeline): self
  39.     {
  40.         $this->developmentTimeline $developmentTimeline;
  41.         return $this;
  42.     }
  43.     public function getProductionTimeline(): ?\DateTimeInterface
  44.     {
  45.         return $this->productionTimeline;
  46.     }
  47.     public function setProductionTimeline(?\DateTimeInterface $productionTimeline): self
  48.     {
  49.         $this->productionTimeline $productionTimeline;
  50.         return $this;
  51.     }
  52.     public function getPostProductionTimeline(): ?\DateTimeInterface
  53.     {
  54.         return $this->postProductionTimeline;
  55.     }
  56.     public function setPostProductionTimeline(?\DateTimeInterface $postProductionTimeline): self
  57.     {
  58.         $this->postProductionTimeline $postProductionTimeline;
  59.         return $this;
  60.     }
  61.     public function getCompletionTimeline(): ?\DateTimeInterface
  62.     {
  63.         return $this->completionTimeline;
  64.     }
  65.     public function setCompletionTimeline(?\DateTimeInterface $completionTimeline): self
  66.     {
  67.         $this->completionTimeline $completionTimeline;
  68.         return $this;
  69.     }
  70.     public function getFundraisingCampaignStartDate(): ?\DateTimeInterface
  71.     {
  72.         return $this->fundraisingCampaignStartDate;
  73.     }
  74.     public function setFundraisingCampaignStartDate(?\DateTimeInterface $fundraisingCampaignStartDate): self
  75.     {
  76.         $this->fundraisingCampaignStartDate $fundraisingCampaignStartDate;
  77.         return $this;
  78.     }
  79.     public function getFundraisingCampaignEndDate(): ?\DateTimeInterface
  80.     {
  81.         return $this->fundraisingCampaignEndDate;
  82.     }
  83.     public function setFundraisingCampaignEndDate(?\DateTimeInterface $fundraisingCampaignEndDate): self
  84.     {
  85.         $this->fundraisingCampaignEndDate $fundraisingCampaignEndDate;
  86.         return $this;
  87.     }
  88.     public function getImpactCampaignStartDate(): ?\DateTimeInterface
  89.     {
  90.         return $this->impactCampaignStartDate;
  91.     }
  92.     public function setImpactCampaignStartDate(?\DateTimeInterface $impactCampaignStartDate): self
  93.     {
  94.         $this->impactCampaignStartDate $impactCampaignStartDate;
  95.         return $this;
  96.     }
  97.     public function getImpactCampaignEndDate(): ?\DateTimeInterface
  98.     {
  99.         return $this->impactCampaignEndDate;
  100.     }
  101.     public function setImpactCampaignEndDate(?\DateTimeInterface $impactCampaignEndDate): self
  102.     {
  103.         $this->impactCampaignEndDate $impactCampaignEndDate;
  104.         return $this;
  105.     }
  106.     public function getFilmProject(): ?FilmProject
  107.     {
  108.         return $this->filmProject;
  109.     }
  110.     public function setFilmProject(?FilmProject $filmProject): self
  111.     {
  112.         $this->filmProject $filmProject;
  113.         return $this;
  114.     }
  115. }