feat: additional attribute for synced with bpn status including filtering by
closes #869anf53g
This commit is contained in:
1 parent
4b8971e194
commit
e23a5097ef
10 files changed
+127
-1
No files matched your search
@@ -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