This commit is contained in:
pbao9
2026-02-11 11:18:35 +07:00
parent d59b2a0840
commit 6b6385f441
27 changed files with 386 additions and 30 deletions
+17
View File
@@ -0,0 +1,17 @@
<?php
namespace App\Enums\Client;
enum ClientGender: int
{
case MALE = 0;
case FEMALE = 1;
public function label(): string
{
return match ($this) {
self::MALE => 'Nam',
self::FEMALE => 'Nữ',
};
}
}