diff --git a/src/Entity/Actor.php b/src/Entity/Actor.php index fc24f46..557a39c 100644 --- a/src/Entity/Actor.php +++ b/src/Entity/Actor.php @@ -30,6 +30,9 @@ class Actor #[ORM\Column(nullable: true)] private ?int $tmdbId = null; + #[ORM\Column(options: ['default' => false])] + private bool $awardsImported = false; + /** @var Collection */ #[ORM\OneToMany(targetEntity: Award::class, mappedBy: 'actor')] private Collection $awards; @@ -111,6 +114,18 @@ class Actor return $this; } + public function isAwardsImported(): bool + { + return $this->awardsImported; + } + + public function setAwardsImported(bool $awardsImported): static + { + $this->awardsImported = $awardsImported; + + return $this; + } + /** @return Collection */ public function getAwards(): Collection {