null])] private ?\DateTimeImmutable $endDate = null; #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column(type: \Doctrine\DBAL\Types\Types::INTEGER)] private ?int $id = null; #[ORM\ManyToOne(targetEntity: AccompanyingPeriod::class)] private AccompanyingPeriod $period; #[ORM\Column(type: \Doctrine\DBAL\Types\Types::DATE_IMMUTABLE)] private ?\DateTimeImmutable $startDate = null; #[ORM\Column(type: \Doctrine\DBAL\Types\Types::TEXT, nullable: false)] private string $step; #[ORM\ManyToOne(targetEntity: ClosingMotive::class)] #[ORM\JoinColumn(nullable: true)] private ?ClosingMotive $closingMotive = null; public function getEndDate(): ?\DateTimeImmutable { return $this->endDate; } public function getId(): ?int { return $this->id; } public function getPeriod(): AccompanyingPeriod { return $this->period; } public function getStartDate(): ?\DateTimeImmutable { return $this->startDate; } public function getStep(): string { return $this->step; } public function setEndDate(?\DateTimeImmutable $endDate): self { $this->endDate = $endDate; return $this; } /** * @internal use AccompanyingPeriod::addLocationHistory */ public function setPeriod(AccompanyingPeriod $period): self { $this->period = $period; return $this; } public function setStartDate(?\DateTimeImmutable $startDate): self { $this->startDate = $startDate; return $this; } public function setStep(string $step): AccompanyingPeriodStepHistory { $this->step = $step; return $this; } public function getClosingMotive(): ?ClosingMotive { return $this->closingMotive; } public function setClosingMotive(?ClosingMotive $closingMotive): self { $this->closingMotive = $closingMotive; return $this; } }