feat: status 'draft' for assignments
This commit is contained in:
1 parent
d735996d7d
commit
b328ebd91b
5 files changed
+15
-1
No files matched your search
@@ -21,6 +21,7 @@ class Assignment implements BlameableEntityInterface, TimestampableEntityInterfa
|
||||
use TimestampableEntity;
|
||||
use SoftDeletableEntity;
|
||||
|
||||
public const STATUS_DRAFT = 'draft';
|
||||
public const STATUS_OPEN = 'open';
|
||||
public const STATUS_CLOSED = 'closed';
|
||||
|
||||
@@ -90,7 +91,7 @@ class Assignment implements BlameableEntityInterface, TimestampableEntityInterfa
|
||||
public function __construct()
|
||||
{
|
||||
$this->uuid = Uuid::v4();
|
||||
$this->status = static::STATUS_OPEN;
|
||||
$this->status = static::STATUS_DRAFT;
|
||||
$this->fees = new ArrayCollection();
|
||||
$this->applications = new ArrayCollection();
|
||||
$this->dispositions = new ArrayCollection();
|
||||
|
||||
Reference in new issue
Block a user