Skip to content

Commit

Permalink
Remove leftover fields
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioMendolia committed Sep 10, 2023
1 parent bafea21 commit dd082fb
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/Entity/Book.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ class Book
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $summary = null;

#[ORM\Column(type: Types::DATE_MUTABLE, nullable: true)]
private ?\DateTimeInterface $eventDate = null;

#[ORM\Column(length: 128, unique: true)]
#[Gedmo\Slug(fields: ['title', 'id'], style: 'lower')]
private string $slug;
Expand Down Expand Up @@ -140,18 +137,6 @@ public function setSlug(string $slug): void
$this->slug = $slug;
}

public function getEventDate(): ?\DateTimeInterface
{
return $this->eventDate;
}

public function setEventDate(?\DateTimeInterface $eventDate): self
{
$this->eventDate = $eventDate;

return $this;
}

public function getCreated(): \DateTimeInterface
{
return $this->created;
Expand Down

0 comments on commit dd082fb

Please sign in to comment.