<?phpnamespace App\Entity;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass="App\Repository\PlanUpdateLogRepository") */class PlanUpdateLog{ /** * @ORM\Id() * @ORM\GeneratedValue() * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="datetime") */ private $updateDate; /** * @ORM\ManyToOne(targetEntity="App\Entity\Plan", inversedBy="planUpdateLogsFrom") * @ORM\JoinColumn(nullable=false) */ private $changeFrom; /** * @ORM\ManyToOne(targetEntity="App\Entity\Plan", inversedBy="planUpdateLogsTo") * @ORM\JoinColumn(nullable=false) */ private $changeTo; /** * @ORM\Column(type="string") */ private $effectiveChangeOnTimeStamp; /** * @ORM\ManyToOne(targetEntity="App\Entity\SubscriptionOrder", inversedBy="planUpdateLogs") * @ORM\JoinColumn(nullable=false) */ private $subscription; public function getId(): ?int { return $this->id; } public function getUpdateDate(): ?\DateTimeInterface { return $this->updateDate; } public function setUpdateDate(\DateTimeInterface $updateDate): self { $this->updateDate = $updateDate; return $this; } public function getChangeFrom(): ?Plan { return $this->changeFrom; } public function setChangeFrom(?Plan $changeFrom): self { $this->changeFrom = $changeFrom; return $this; } public function getChangeTo(): ?Plan { return $this->changeTo; } public function setChangeTo(?Plan $changeTo): self { $this->changeTo = $changeTo; return $this; } public function getEffectiveChangeOnTimeStamp(): ?string { return $this->effectiveChangeOnTimeStamp; } public function setEffectiveChangeOn(?string $effectiveChangeOnTimeStamp): self { $this->effectiveChangeOnTimeStamp = $effectiveChangeOnTimeStamp; return $this; } public function getSubscription(): ?SubscriptionOrder { return $this->subscription; } public function setSubscription(?SubscriptionOrder $subscription): self { $this->subscription = $subscription; return $this; }}