Open nmnp opened 8 years ago
Hi @NareshMaharzan @bhuwang ,
I am a bit confused in #4
does this mean we will have only one admin user? :)
Also, which user can add/update employees?
@bipenc The only thing is that to enter into the application you should have a user registered into the system. So this will be the default admin user. This admin user can create admin and the normal user later on.
The application should have the following features:
Entities: User: id [primary key], username [unique key], password, isTerminated Employee: Extends user, fullname, department, address, role['admin','user'] Hint: employee role should be implemented thru Enum
Controllers: EmployeeController LoginController
Functionalities: Admin User
Functionalities: Normal User
Both admin and normal user access the functionalities once they logged in otherwise they cannot do anything.
Login check for valid username, password and user is not terminated.