ldc-startcoq/app/Enums/Products/SourceEnum.php

39 lines
915 B
PHP
Raw Permalink Normal View History

2023-06-21 10:24:56 +00:00
<?php
namespace App\Enums\Products;
use App\Traits\Enums\BaseEnum;
2023-09-08 16:02:21 +02:00
enum SourceEnum: int
2023-06-21 10:24:56 +00:00
{
use BaseEnum;
2023-10-02 15:37:39 +02:00
// * 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;
2023-06-21 10:24:56 +00:00
/**
* 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',
];
}