feat: allow overlapping assignments via flag set on individual teamers
This commit is contained in:
1 parent
4e92eebb39
commit
a95291d4ec
6 files changed
+68
-5
No files matched your search
@@ -137,6 +137,9 @@ class Teamer implements TimestampableEntityInterface
|
||||
#[ORM\Column]
|
||||
private bool $viewed = false;
|
||||
|
||||
#[ORM\Column]
|
||||
private bool $allowOverlappingApplications = false;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->uuid = Uuid::v4();
|
||||
@@ -797,4 +800,16 @@ class Teamer implements TimestampableEntityInterface
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function isAllowOverlappingApplications(): bool
|
||||
{
|
||||
return $this->allowOverlappingApplications;
|
||||
}
|
||||
|
||||
public function setAllowOverlappingApplications(bool $allowOverlappingApplications): static
|
||||
{
|
||||
$this->allowOverlappingApplications = $allowOverlappingApplications;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user