Files
portal-api/app/Enums/Client/ClientGender.php
2026-02-11 11:18:35 +07:00

18 lines
263 B
PHP

<?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ữ',
};
}
}