Open erginrusheku opened 1 year ago
1- Model id : String name : String surname : String age : int salary : double gender : Gender jobPosition : JobPosition sectorId : String
JobPositon { MANAGER, FLOOR_MANAGER, EMPLOYEE }
Gender { MALE, FEMALE }
2- Controller
Persons under 18 and over 65 can't be employees. Salaries can't be negative.
3- Service 4- Repository 5- JUnit class
1- Model id : String name : String surname : String age : int salary : double gender : Gender jobPosition : JobPosition sectorId : String
JobPositon { MANAGER, FLOOR_MANAGER, EMPLOYEE }
Gender { MALE, FEMALE }
2- Controller
Persons under 18 and over 65 can't be employees. Salaries can't be negative.
3- Service 4- Repository 5- JUnit class