save movies release date in BDD, remove unused badge, add help to export movie from letterboxd
This commit is contained in:
@@ -24,6 +24,9 @@ class Movie
|
||||
#[ORM\Column(length: 255)]
|
||||
private ?string $title = null;
|
||||
|
||||
#[ORM\Column(nullable: true)]
|
||||
private ?int $year = null;
|
||||
|
||||
/**
|
||||
* @var Collection<int, MovieRole>
|
||||
*/
|
||||
@@ -76,6 +79,18 @@ class Movie
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getYear(): ?int
|
||||
{
|
||||
return $this->year;
|
||||
}
|
||||
|
||||
public function setYear(?int $year): static
|
||||
{
|
||||
$this->year = $year;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Collection<int, MovieRole>
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user