-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
The application should have the following features:
- Application will have two users: a. admin user b. normal user
- Admin user will have option to add/delete user
- Normal user can view/search employee
- admin user will be generated by the system by default
- admin user will add normal user
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
- can add/delete/terminate user
- can view/search other employees: search by fullname, department, address. If not provided any value system will search and display all the employees
- delete user on the basis of fullname. If the full name matched then user will be delete from the system.
- terminate the user on the basis of fullname.
Functionalities: Normal User
- can view/search other employees: search by fullname, department, address. If not provided any value system will search and display all the employees
- edit their own information: selects which fields to edit and enter the value for respective field.
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.
Metadata
Metadata
Assignees
Labels
No labels