You are on page 1of 5

Use Case Diagram for Human Resource Management System

Request for Leave

Upload Thoughts

Punch Attendence Card Employee Login

Manual Password Reset

TimeKeeping Change own Password Approve or Deny Leave

Edit Employee Request Password Via Email HR Add Employee Update Attendance Records Create Administrative Report Delete Employee Upload Notices Maintain Employee Info

Figure
The above diagram is the Use Case diagram of the HR Management System. It shows that the system can have 4 types of actors. Namely Employee, HR, Time Keeping and the Website Administrator. Each user can perform different tasks on the system. These tasks are depicted by the use Cases. The tasks that a user can perform are based on the accessibility level of that type of the user.

Class Diagram for Human Resource Management System

Figure
The above diagram is the class diagram of the HR Management System. The diagram shows all the classes that are used in the System. Some of the classes are User, Leave, Shift, etc. Operations on these classes are performed by the User of the system according to his/her accessibility level. The classes have different attributes as described in the diagram along with the operations that they can perform.

Activity Diagram for Update Attendance Records

Login

HR Admin or Employee ?

[Employee]

[HR Admin] Update Attendence record

Figure
This activity is performed by the HR manager. The HR logs into the system and gives the command to the system to update attendance records of the employees. The system responds by reading the files where attendance records are stored and updates the database of the system accordingly. The system also compares the in-time and shift time of the employee and marks his presence as Late, Early or On-Time accordingly.

Activity Diagram for Request Password via Email:

Enter User ID

Enter Email ID Provided During Registration [ NO ]

Check Email provided by Employee? [ YES ] Request for Password

Figure
This activity can be performed by any of the three types of users i.e. Employee, HR and Time Keeping in the event of forgetting the password to their account on the HR Management System. The can go to the Forgot Password page and request for the password on the email id provided by them during registration. The requestor must enter the email id he provided at the time of registration. If both the values match then the request is sent to the website administrator the send the password to the respective email id.

Activity Diagram for Change Own Password:

Login

Enter Old Password Check Old Password?

[ YES ]

Is Authenticated User?

[ NO ] [ correct ]

Enter New Password and Verify it

Figure
This activity is performed all 4 types of users. The can go to the Account Management page and provide the current password, New password and retype the new Password. The system checks if everything is ok and if yes then it updates the password of the user.

You might also like