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