Skip to content

Commit 2f8d28a

Browse files
committed
abstractentity: remove deleted
1 parent 0f8c4c9 commit 2f8d28a

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

src/App/src/Entity/AbstractEntity.php

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ abstract class AbstractEntity implements ArraySerializableInterface, EntityInter
2727
#[ORM\Column(name: 'updated', type: 'datetime_immutable', nullable: true)]
2828
protected ?DateTimeImmutable $updated = null;
2929

30-
#[ORM\Column(name: 'deleted', type: 'boolean', nullable: false, options: ['default' => false])]
31-
protected bool $deleted = false;
32-
3330
public function __construct()
3431
{
3532
$this->id = Uuid::uuid7();
@@ -71,18 +68,6 @@ public function getUpdatedFormatted(string $dateFormat = 'Y-m-d H:i:s'): ?string
7168
return null;
7269
}
7370

74-
public function isDeleted(): bool
75-
{
76-
return $this->deleted;
77-
}
78-
79-
public function setDeleted(bool $deleted): static
80-
{
81-
$this->deleted = $deleted;
82-
83-
return $this;
84-
}
85-
8671
#[ORM\PrePersist]
8772
public function created(): void
8873
{

0 commit comments

Comments
 (0)