ldc-startcoq/app/Enums/Products/SourceEnum.php
2023-10-02 15:38:56 +02:00

38 lines
915 B
PHP

<?php
namespace App\Enums\Products;
use App\Traits\Enums\BaseEnum;
enum SourceEnum: int
{
use BaseEnum;
// * Catalogue argumentaire
case catalogArgumentary = 7;
// * Magasin
case magazin = 1;
// * Presse
case press = 3;
// * Salon Grand Public
case showConsumer = 6;
// * Salon Clients
case showCustomer = 5;
// * Salon Professionnel
case showTrade = 4;
// * Web
case web = 2;
/**
* 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',
];
}