feat: additional attribute for synced with bpn status including filtering by

closes #869anf53g
This commit is contained in:
Björn Fromme
2025-09-30 18:36:08 +02:00
parent 4b8971e194
commit e23a5097ef
10 changed files with 127 additions and 1 deletions
+15
View File
@@ -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;
}
}