This commit is contained in:
2022-05-23 15:34:24 +02:00
parent f251e6eb0d
commit 1c542e3455
5 changed files with 90 additions and 3 deletions

View File

@ -20,6 +20,12 @@ class MerParaSub
#[ORM\JoinColumn(nullable: false)]
private MerService $service;
#[ORM\Column(type: 'datetime_immutable')]
private $subDate;
#[ORM\Column(type: 'datetime_immutable', nullable: true)]
private $unsubDate;
public function getId(): ?int
{
return $this->id;
@ -48,4 +54,28 @@ class MerParaSub
return $this;
}
public function getSubDate(): ?\DateTimeImmutable
{
return $this->subDate;
}
public function setSubDate(\DateTimeImmutable $subDate): self
{
$this->subDate = $subDate;
return $this;
}
public function getUnsubDate(): ?\DateTimeImmutable
{
return $this->unsubDate;
}
public function setUnsubDate(?\DateTimeImmutable $unsubDate): self
{
$this->unsubDate = $unsubDate;
return $this;
}
}