id = Uuid::v7(); $this->key = $key; $this->body = $body; $this->updatedAt = new \DateTimeImmutable(); } public function getId(): Uuid { return $this->id; } public function getKey(): string { return $this->key; } public function getBody(): string { return $this->body; } public function getUpdatedAt(): \DateTimeImmutable { return $this->updatedAt; } public function setKey(string $key): void { $this->key = $key; } public function setBody(string $body): void { $this->body = $body; $this->updatedAt = new \DateTimeImmutable(); } }