41 lines
1,020 B
PHP
41 lines
1,020 B
PHP
<?php
|
|
|
|
namespace App\Enums;
|
|
|
|
use Kwaadpepper\Enum\BaseEnumRoutable;
|
|
|
|
/**
|
|
* @method static self collectionNeeds()
|
|
* @method static self specifications()
|
|
* @method static self quotation()
|
|
* @method static self tests()
|
|
* @method static self informations()
|
|
* @method static self feedback()
|
|
*/
|
|
|
|
class FileCategory extends BaseEnumRoutable
|
|
{
|
|
protected static function values(): array
|
|
{
|
|
return [
|
|
'collectionNeeds' => 0,
|
|
'specifications' => 1,
|
|
'quotation' => 2,
|
|
'tests' => 3,
|
|
'informations' => 4,
|
|
'feedback' => 5
|
|
];
|
|
}
|
|
|
|
protected static function labels(): array
|
|
{
|
|
return [
|
|
'collectionNeeds' => trans('Recueil des besoins'),
|
|
'specifications' => trans('Cahier des charges'),
|
|
'quotation' => trans('Devis'),
|
|
'tests' => trans('Recettage'),
|
|
'informations' => trans('Informations'),
|
|
'feedback' => trans('Retours client'),
|
|
];
|
|
}
|
|
}
|