From b57f9724d3a5099045bab0e043d290fec88e1fed Mon Sep 17 00:00:00 2001
From: Fabrice Gangler <fabrice.gangler@adullact.org>
Date: Tue, 23 Jul 2024 18:09:56 +0200
Subject: [PATCH] =?UTF-8?q?feat(software):=20add=20[=C2=A0created=5Fat=20]?=
 =?UTF-8?q?=20property?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 webapp/src/Entity/Software.php | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/webapp/src/Entity/Software.php b/webapp/src/Entity/Software.php
index 5cc9e57..a69e9fb 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;
+    }
 }
-- 
GitLab