ldc-startcoq/app/Enums/Products/SourceEnum.php
2023-06-21 10:24:56 +00:00

31 lines
790 B
PHP

<?php
namespace App\Enums\Products;
use App\Traits\Enums\BaseEnum;
enum SourceEnum : int
{
use BaseEnum;
case catalogArgumentary = 1;
case magazin = 2;
case press = 3;
case showConsumer = 4;
case showCustomer = 5;
case showTrade = 6;
case web = 7;
/**
* Custom added functions definition
*/
private const LABELS = [
self::catalogArgumentary->name => 'Catalogue Argumentaire',
self::magazin->name => 'Magasin',
self::press->name => 'Presse',
self::showConsumer->name => 'Salon Grand Public',
self::showCustomer->name => 'Salon Clients',
self::showTrade->name => 'Salon Professionnel',
self::web->name => 'Web',
];
}