Convert CaseLevel to use int for comparisons

This commit is contained in:
Ryan Prather 2024-12-10 22:51:36 -05:00
parent 30f9be37ec
commit f3a32e9d94

View File

@ -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;
}