Skip to content
Snippets Groups Projects
Commit b57f9724 authored by Fabrice Gangler's avatar Fabrice Gangler :art:
Browse files

feat(software): add [ created_at ] property

parent 139078cb
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment