init
This commit is contained in:
10
app/Service/Enums/Priority.php
Normal file
10
app/Service/Enums/Priority.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace App\Service\Enums;
|
||||
|
||||
enum Priority: string
|
||||
{
|
||||
case CRITICAL = 'krytyczny';
|
||||
case HIGH = 'wysoki';
|
||||
case NORMAL = 'normalny';
|
||||
}
|
||||
10
app/Service/Enums/Status.php
Normal file
10
app/Service/Enums/Status.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace App\Service\Enums;
|
||||
|
||||
enum Status: string
|
||||
{
|
||||
case PLANED = 'zaplanowany';
|
||||
case NEW = 'nowy';
|
||||
case DEADLINE = 'termin';
|
||||
}
|
||||
10
app/Service/Enums/Type.php
Normal file
10
app/Service/Enums/Type.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace App\Service\Enums;
|
||||
|
||||
enum Type: string
|
||||
{
|
||||
case INSPECTION = 'przegląd';
|
||||
case FAILURE = 'zgłoszenie awarii';
|
||||
case UNPROCESSABLE = 'nieprzetworzony';
|
||||
}
|
||||
Reference in New Issue
Block a user