feat(directory) : add ReportType enum for commercial reports

This commit is contained in:
Matthieu
2026-06-22 11:39:12 +02:00
parent a18e1f575f
commit bf263f4c63
2 changed files with 46 additions and 0 deletions
@@ -0,0 +1,23 @@
<?php
declare(strict_types=1);
namespace App\Module\Directory\Domain\Enum;
enum ReportType: string
{
case Call = 'call';
case Meeting = 'meeting';
case Email = 'email';
case Note = 'note';
public function label(): string
{
return match ($this) {
self::Call => 'Appel',
self::Meeting => 'Rendez-vous',
self::Email => 'Email',
self::Note => 'Note',
};
}
}