feat: additional attribute for synced with bpn status including filtering by
closes #869anf53g
This commit is contained in:
@@ -69,6 +69,9 @@ class Disposition implements BlameableEntityInterface, TimestampableEntityInterf
|
||||
#[ORM\Column(type: Types::TEXT, nullable: true)]
|
||||
private ?string $calledOffReason = null;
|
||||
|
||||
#[ORM\Column(type: Types::BOOLEAN)]
|
||||
private bool $syncedWithBusProNet = false;
|
||||
|
||||
public function __construct(Application $application)
|
||||
{
|
||||
$this->uuid = Uuid::v4();
|
||||
@@ -277,4 +280,16 @@ class Disposition implements BlameableEntityInterface, TimestampableEntityInterf
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function isSyncedWithBusProNet(): bool
|
||||
{
|
||||
return $this->syncedWithBusProNet;
|
||||
}
|
||||
|
||||
public function setSyncedWithBusProNet(bool $syncedWithBusProNet): static
|
||||
{
|
||||
$this->syncedWithBusProNet = $syncedWithBusProNet;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user