feat: add Connector to WatchListTrigger

This commit is contained in:
Maël Gangloff
2024-07-28 23:39:38 +02:00
parent 1f5c1f812b
commit 50c5b75067
7 changed files with 77 additions and 67 deletions

View File

@@ -69,9 +69,6 @@ class WatchList
#[SerializedName("triggers")]
private Collection $watchListTriggers;
#[ORM\ManyToOne(inversedBy: 'watchLists')]
private ?Connector $connector = null;
public function __construct()
{
$this->token = Uuid::v4();
@@ -149,16 +146,4 @@ class WatchList
return $this;
}
public function getConnector(): ?Connector
{
return $this->connector;
}
public function setConnector(?Connector $connector): static
{
$this->connector = $connector;
return $this;
}
}