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