From af67d79a46bd02d86b12b50ca718527107a297db Mon Sep 17 00:00:00 2001 From: Ryan Prather Date: Sun, 22 Dec 2024 22:59:43 +0000 Subject: [PATCH] Add new date/time objects to store when reports signed by supervisor and case worker --- src/Entity/StaffNote.php | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/src/Entity/StaffNote.php b/src/Entity/StaffNote.php index f250593..073329e 100644 --- a/src/Entity/StaffNote.php +++ b/src/Entity/StaffNote.php @@ -31,6 +31,12 @@ class StaffNote #[ORM\Column(length: 500, nullable: true)] private ?string $recommendations = null; + #[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)] + private ?\DateTimeInterface $workerSignDatetime = null; + + #[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)] + private ?\DateTimeInterface $supervisorSignDateTime = null; + public function getId(): ?int { return $this->id; @@ -98,4 +104,28 @@ class StaffNote return $this; } + + public function getWorkerSignDatetime(): ?\DateTimeInterface + { + return $this->workerSignDatetime; + } + + public function setWorkerSignDatetime(?\DateTimeInterface $workerSignDatetime): static + { + $this->workerSignDatetime = $workerSignDatetime; + + return $this; + } + + public function getSupervisorSignDateTime(): ?\DateTimeInterface + { + return $this->supervisorSignDateTime; + } + + public function setSupervisorSignDateTime(?\DateTimeInterface $supervisorSignDateTime): static + { + $this->supervisorSignDateTime = $supervisorSignDateTime; + + return $this; + } }