diff --git a/webapp/src/Entity/Software.php b/webapp/src/Entity/Software.php index 5cc9e57e01b7a4a74932a8d808badc86ce6a88a2..a69e9fb5d017e87e60c45a5415b2b43eac6af9d1 100644 --- a/webapp/src/Entity/Software.php +++ b/webapp/src/Entity/Software.php @@ -25,6 +25,9 @@ class Software #[ORM\Column(length: 150)] private ?string $slug = null; + #[ORM\Column] + private ?\DateTimeImmutable $created_at = null; + public function getId(): ?int { return $this->id; @@ -77,4 +80,16 @@ public function setSlug(string $slug): static return $this; } + + public function getCreatedAt(): ?\DateTimeImmutable + { + return $this->created_at; + } + + public function setCreatedAt(\DateTimeImmutable $created_at): static + { + $this->created_at = $created_at; + + return $this; + } }