mirror of
https://github.com/standardebooks/web.git
synced 2025-07-18 12:26:39 -04:00
Add beginning of a project management system to placeholders
This commit is contained in:
parent
e56de4b19d
commit
adfe07aad9
42 changed files with 717 additions and 118 deletions
16
lib/Enums/ProjectStatusType.php
Normal file
16
lib/Enums/ProjectStatusType.php
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?
|
||||
namespace Enums;
|
||||
|
||||
enum ProjectStatusType: string{
|
||||
case InProgress = 'in_progress';
|
||||
case Stalled = 'stalled';
|
||||
case Completed = 'completed';
|
||||
case Abandoned = 'abandoned';
|
||||
|
||||
public function GetDisplayName(): string{
|
||||
return match($this){
|
||||
self::InProgress => 'in progress',
|
||||
default => $this->value
|
||||
};
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue