Convert CaseLevel to use int for comparisons
This commit is contained in:
parent
30f9be37ec
commit
f3a32e9d94
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
namespace App\Enums;
|
namespace App\Enums;
|
||||||
|
|
||||||
enum CaseLevel: string
|
enum CaseLevel: int
|
||||||
{
|
{
|
||||||
case PARAPROFESSIONAL = 'Paraprofessional';
|
case PARAPROFESSIONAL = 0;
|
||||||
case BACHELOR = 'Bachelor';
|
case BACHELOR = 1;
|
||||||
case MASTER = 'Master';
|
case MASTER = 2;
|
||||||
case DOCTORATE = 'Doctorate';
|
case DOCTORATE = 3;
|
||||||
case ADMIN = 'Admin';
|
case ADMIN = 99;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user