Question
1. An employment management system is usually used to manage the staff information, applying for leave, attendance, salary payment, etc. When a person is first
1. An employment management system is usually used to manage the staff information, applying for leave, attendance, salary payment, etc. When a person is first employed by the company, the Human Resource manager (HR) need to input the information of the person and create an account for the person. HR also need to input the attendance state into the system including person id, absence or present, late or on-time, and date. Then, the person could login into the system with given username and password, and then apply for leave, check attendance record and look up salary payment history. Accounting staff need to login into the system and input the salary payment record (including person id, salary, date) into the system. The company usually have multiple departments, and each department has a leader and many other staffs. The leader of each department is in charge of the approval of asking for leave requests from staffs of the same department.
(1) Build a domain class diagram for the application (following are some suggested classes: Company, Department, Staff, Account, Attendance-record, Salary-record, Ask-for-leave-record, etc.)
(2) List three actors that are involved in the application.
(3) Two use cases are Attendance Management, Apply for Leave. List at least two other use cases at a comparable abstraction, summarize each use case using one sentence.
(4) Construct a use case diagram for this software.
(5) Draw a sequence diagram for the Apply for Leave use case: Employers need to login into the system using correct username and password, input the start and end date of the asking for leave, and then submit the request to the leader of the department. The leader approve the request or not. If the leader approve the request, the request will be submitted to the HR to process. HR will decide whether to approve the request according to the regulation of the company and then send the final decision to employers and Accounting staffs.
(6) Build an activity diagram to describe the Apply for Leave in question (5).
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started