Sie sind auf Seite 1von 27

MEKONG DELTA APTECH

01, Ly Tu Trong St, Can Tho City

Tel: 071835581 – Fax: 071 835581

LABOR MANAGEMENT SYSTEM


Class: CP1496K02

Group 1:
Nguyen Minh Nhut(Leader)

Nguyen Thi Ca Thi

Nguyen Tran Anh Hao

Tran Thanh Phong

Teacher guid: Le Thi Minh Loan


Design Plan: Labor Document Name: Problem
SWD/Form No. 1
Management System Definition
Effective Date: Version: 1 Page No.: 1

I. Introduction
Today, with the development of science and technology. Information technology is a field
many practical applications in all areas of life and our society, it is a special tool support is
indispensable in effective management. Thanks to information technology management and
administration of the business efficiently, quickly and accurately. The establishment of
management software is an effective solution for most businesses can survive and grow
quickly Labor Management As an illustrative example.

Labor Management System aims at collecting information about the civil workers. The main
objective of this project work is to retain information of all the labors of the company, to
record attendance of the workers on daily basis and to calculate the salary on weekly basis.
This system is created to monitor all the workers in time and out time and total shift they
worked.

II. Main Function


 Labor Management maintain all data of labor part like add new labor form,
view and modify labor information detail form.
 Manager can arrange schedule for labor and check attendance for labor
everyday.
 Salary will calculate every month.

Prepared By (Student) Approved By (Teacher)


Date
Design Plan: Labor
Document Name: CRS SWD/Form No. 2
Management System
Effective Date: Version: 1 Page No.: 1

I. Customer requirements specification


System must login to used. After login user can manage labor detail, salary level, …
or view report salary every month.

System should be friendly and ease of use.

II. Functional requirements


There is only one actor.

1. Admin Functions
1. Admin can manage Labor
Description
System should provide for Administrators a page which allows them to
manage labor such as set labor that is active or inactive, modify labor details,
add labor details.

1.1.1. Functional requirement


REQ-01: Admin sets labor is active or inactive
REQ-02: Admin views list of labor
REQ-03: Admin edits labor details
REQ-04: Admin adds new labor details
2. Admin can manage Schedule
Description
System should provide for Administrators a page which allows them to
manage labor’s schedule such as set labor’s schedule, modify labor’s schedule

Functional requirement
REQ-01: Admin sets labor’s schedule
REQ-02: Admin views labor’s schedule
REQ-03: Admin edits labor’s schedule
3. Admin can manage Basic salary
Description
System should provide for Administrators a page which allows them to
manage labor’s basic salary such as modify basic salary, add basic salary

Functional requirement
REQ-01: Admin add basic salary
REQ-02: Admin views basic salary list
REQ-03: Admin edits basic salary
Design Plan: Labor
Document Name: CRS SWD/Form No. 2
Management System
Effective Date: Version: 1 Page No.: 1

4. Admin can check Attendance


Description
System should provide for Administrators a page which allows them to manage
labor‘s attendance such as set labor that is in or out.

Functional requirement
REQ-01: Admin sets labor is check in or check out

III. System Requirement Specification


Hardware Requiem’s:

-Pentium IV 2.0 GHz PC. Or higher.

- 200 MB RAM or higher

- 20 MB HDD or higher.

Software Requirements:
- JDK 1.6

- Microsoft SQL Server 2012

-Window 8/8.1/10

Prepared By (Student) Approved By (Teacher)


Date
Design Plan: Labor Document Name: Interface
SWD/Form No. 3
Management System Design
Effective Date: May, 19th, 2016 Version: 1 Page No.: 1

1. Login

No. Name Type Validation Description Event


1 txtuser Text Field Not null User name
2 pwdpass Password Not null Password
Field
3 btnlogin Button Login to Click
System
Design Plan: Labor Document Name: Interface
SWD/Form No. 3
Management System Design
Effective Date: May, 19th, 2016 Version: 1 Page No.: 1

2. Home

2.1. System

No. Name Type Validation Description Event


1 btnlogout Button Logout system Click
2 btnuser Link Open User tab Click
3 btnchangepass Link Open Change Click
Password
4 tblservice Tab Change to Click
service tab
5 tblhelp Tab Change to Click
help tab
Design Plan: Labor Document Name: Interface
SWD/Form No. 3
Management System Design
Effective Date: May, 19th, 2016 Version: 1 Page No.: 1

2.2. Service

No. Name Type Validation Description Event


1 btnlabor Button Open Labor Click
tab
2 btbattendance Button Open Click
Attendance
tab
3 btbschedule Button Open Click
Schedule tab
4 btblevel Button Open Salary Click
level tab
5 btbReport Button Open Report Click
Salary tab
6 tblsystem Tab Change Click
System tab
7 tblhelp tab Change Help Click
tab

2.3. Help
Design Plan: Labor Document Name: Interface
SWD/Form No. 3
Management System Design
Effective Date: May, 19th, 2016 Version: 1 Page No.: 1

No. Name Type Validation Description Event


1 btnhelp Button Open help Click
content(unable)
2 tblsystem Tab Change system Click
tab
3 tblservice Tab Change service Click
tab
Design Plan: Labor Document Name: Interface
SWD/Form No. 3
Management System Design
Effective Date: May, 19th, 2016 Version: 1 Page No.: 1

3. Change Password

No. Name Type Validation Description Event


1 pwdoldpass Password Not null Old Password
Field
2 pwdnewpass Password Not null New Password
Field
3 pwdrenewpass Password Not null Re-enter New
Field Password
4 btnaccept Button Change Pass Click
5 btnreset Button Clear all field Click

4. User

4.1. View User


Design Plan: Labor Document Name: Interface
SWD/Form No. 3
Management System Design
Effective Date: May, 19th, 2016 Version: 1 Page No.: 1

No. Name Type Validation Description Event


1 btndelete Button Delete User Click
2 btnadd Button Add new User Click

4.2. Add User


Design Plan: Labor Document Name: Interface
SWD/Form No. 3
Management System Design
Effective Date: May, 19th, 2016 Version: 1 Page No.: 1

No. Name Type Validation Description Event


1 txtuser Text Field Not null User name
2 pwdpass Password Not null Password
Field
3 btnregister Button register Click
4 btnreset Button Clear all field Click

5. Labor

5.1. Labor List


Design Plan: Labor Document Name: Interface
SWD/Form No. 3
Management System Design
Effective Date: May, 19th, 2016 Version: 1 Page No.: 1

No. Name Type Validation Description Event


1 radWorking Radian button View working Change
labor
2 radRetired Radian button View retired Change
labor
3 cbxsearch Combo Box Choice search
content
4 txtsearch Text field Search
5 btnsearch button Search labor Click
6 btnadd Button Add new labor Click
7 btnview button View labor Click
8 btnretired button Change labor Click
to retired

5.2. View Labor


Design Plan: Labor Document Name: Interface
SWD/Form No. 3
Management System Design
Effective Date: May, 19th, 2016 Version: 1 Page No.: 1

No. Name Type Validation Description Event


1 tblinfo Tab Change tab click
2 tblcontact tab Change tab Click
3 btnedit button Edit detail Click

5.3. Add labor details


Design Plan: Labor Document Name: Interface
SWD/Form No. 3
Management System Design
Effective Date: May, 19th, 2016 Version: 1 Page No.: 1

No. Name Type Validation Description Event


1 txtcode Text field Not null Labor ID
2 txtfname Text field Not null First name
3 txtlname Text field Not null Last name
4 txtmname Text field Middle name
5 dcsDate Date choicer Not null and Birth day click
isDate(yyyy-
mm-dd)
6 radmale Radian button Sex
7 radfemale Radian button Sex
8 cbxmstatus Combo box Marital status
9 btnbrowse Button Choice image Click
10 txtaddress Text area Not null Address
11 txtcity Text field Not null City
12 txtcountry Text field Not null Country
13 txtwphone Text field Work phone
14 txthpone Text field Home phone
15 txtmphone Text field Mobile phone
16 txtwmail Text field Work mail
17 txtemail Text field Email
18 btnadd2 Button Add new Click
details
19 btnreset button Reset all field Click
Design Plan: Labor Document Name: Interface
SWD/Form No. 3
Management System Design
Effective Date: May, 19th, 2016 Version: 1 Page No.: 1

6. Attendance

No. Name Type Validation Description Event


1 radin Radian button Check in Change
2 radout Radian button Check out Change
3 cbxshift Combo Box Shift
4 cbxcode Combo Box Labor Id
5 btnattendance Button Attendance Click
6 btnclear Button clear Click
Design Plan: Labor Document Name: Interface
SWD/Form No. 3
Management System Design
Effective Date: May, 19th, 2016 Version: 1 Page No.: 1

7. Schedule

No. Name Type Validation Description Event


1 dcsDate Date choicer Date schedule Click
2 btnshow Button Show Click
schedule
3 btnadd Button Add schedule Click
4 btnchange Button Change Click
schedule
5 cbxshift Combo box shift

7.1. Add Schedule


Design Plan: Labor Document Name: Interface
SWD/Form No. 3
Management System Design
Effective Date: May, 19th, 2016 Version: 1 Page No.: 1

No. Name Type Validation Description Event


1 dcsDate2 Date choicer Not null, Date schedule click
isDate(yyyy-
mm-dd)
2 cbxID Combo box Labor ID
3 cbxshift2 Combo Box Shift Schedule
4 btnadd2 Button Add Schedule Click
5 btnrest Button Reset field Click

7.2. Change Schedule

No. Name Type Validation Description Event


1 cbxID Combo Box Labor Id (can’t
change)
2 cbxshift2 Combo Box Shift schedule
3 btnchange Button Change Click
schedule
Design Plan: Labor Document Name: Interface
SWD/Form No. 3
Management System Design
Effective Date: May, 19th, 2016 Version: 1 Page No.: 1

8. Level

No. Name Type Validation Description Event


1 txtId Text field Not null and Level ID
is number
2 txtsalary Text field Not null and Basic Salary
is number
3 btnchange Button Update salary Click
level
4 btnadd Button Open add click
new

8.1. Add new Level

No. Name Type Validation Description Event


1 txtid Text field Not null and is Level id
number
2 txtname Text field Not null Level name
3 txtsalary Text field Not null and is Basic salary
number
4 btnadd2 Button Add new Click
5 btnreset button Reset field Click
Design Plan: Labor Document Name: Interface
SWD/Form No. 3
Management System Design
Effective Date: May, 19th, 2016 Version: 1 Page No.: 1

9. Report

No. Name Type Validation Description Event


1 cbxsort Combo box Sort by
2 radascending Radian button Sort ascending Change
3 Raddescending Radian button Sort change
descending
4 cbxsearch Combo box Search by
5 txtsearch Text field Search text
6 btnsearch Button Search Click

Prepared By (Student) Approved By (Teacher)


Date
Design Plan: Labor
Document Name: Table Design SWD/Form No. 4
Management System
Effective Date: Version: 1 Page No.: 1

1. User
Data Allow Default Table-
Key Field Name Length Description
Type Null value Field-Ref

PK username nvarcher 50 No User name

Password nchar 30 No Password

2. Level
Data Allow Default Table-
Key Field Name Length Description
Type Null value Field-Ref

PK leveled Int No Level id

levelname nvarchar 50 No Level name

basesalary Int No Basic salary

3. Schedule
Data Allow Default Table-
Key Field Name Length Description
Type Null value Field-Ref

PK scheduledate nvarchar 50 No Schedule date

PK laborid nchar 10 No Labor id

PK shift nvarchar 50 No Shift


Design Plan: Labor
Document Name: Table Design SWD/Form No. 4
Management System
Effective Date: Version: 1 Page No.: 1

4. Attendance
Data Allow Default Table-
Key Field Name Length Description
Type Null value Field-Ref

PK attendancedate nvarchar 50 No Attendance date

time_in nvarchar 50 No Time check in

time_out nvarchar 50 Yes Time check out

PK laborid nchar 10 No Labor ID

5. LaborProfile
Data Allow Default Table-
Key Field Name Length Description
Type Null value Field-Ref

PK laborid nchar 10 No Labor id

first_name nvarchar 50 No First name

last_name nvarchar 50 No Last name

middle_name nvarchar 50 Yes Middle name

full_name nvarchar max No Full name

dob nvarchar No Birth day

sex int No Gender

levelid int No 1 Level id

address nvarchar 50 No Address

city nvarchar 50 No City

country nvarchar 50 No Country

homenumber nvarchar 50 Yes Home phone number

workphone nvarchar 50 Yes Work phone number

mobilephone nvarchar 50 Yes Mobile phone number

workemail nvarchar 50 Yes Work email

Email nvarchar 50 Yes Email


Design Plan: Labor
Document Name: Table Design SWD/Form No. 4
Management System
Effective Date: Version: 1 Page No.: 1

mastatus nvarchar 50 No Matiral status

datejoin nvarchar 50 No Date join

status int No 1 Status

image nvarchar Max Yes Image

Diagram Relationship

Prepared By (Student) Approved By (Teacher)


Date
Design Plan: Labor Document Name: Process
SWD/Form No. 5
Management System Design
Effective Date: Version: 1 Page No.: 1

Tier 1
User Interface – GUI
Presentation Tier Components

Tier 2 Database Access

Database Tier

Two – Tier Architecture of the Project

I. Flowchart Diagram

Labors
Management
Process

Authentication LaborDetails
Details

Adminitrator

DFD level 0: Context diagram


Design Plan: Labor Document Name: Process
SWD/Form No. 5
Management System Design
Effective Date: Version: 1 Page No.: 1

User Name, Password Labor


Authentication

Authentication Details

Authentication Feedback Require labor

User Details Requirement info

Password

Require Labor Info


Labor
Administrator Management

Feedback Requirement

DFD level 1: Application process


Design Plan: Labor Document Name: Process
SWD/Form No. 5
Management System Design
Effective Date: Version: 1 Page No.: 1

DFD lever 1-1: Labor management


Design Plan: Labor
Document Name: Task Sheet SWD/Form No. 6
Management System
Effective Date: Version: 1 Page No.: 1

Project Ref No.:


Date of Preparation of Activity Plan:

Project Activity
Title: Plan
Prepared
Actual Team
By: Actual
Sr.No. Task Start Members Status
Days
Date Names

Labor
Analyze user
1 Management Group 1 May, 19th 1 All Complete
requirements
System
Do a detailed Labor
analysis for the Management All Complete
2 Group 1 May,19th 2
project System

Labor
Building
3 Management Nhut Complete
Database Group 1 May,20th 1
System

Labor
Design Entity
4 Management Nhut Complete
Relationship Group 1 May,19th 2
System

Labor
5 Design GUI Management Nhut Complete
System Group 1 May,28th 3

Labor
Coding User
6 Management Nhut Complete
Form Group 1 May,30th 1
System

Coding Labor Labor


7 Management Management Nhut Complete
Form System Group 1 May,30th 2

Labor
Coding
8 Management Nhut Complete
Schedule Form Group 1 Jun,15th 1
System

Coding Labor
9 Attendance Management Nhut Complete
Form System Group 1 Jun,15th 1
Design Plan: Labor
Document Name: Task Sheet SWD/Form No. 6
Management System
Effective Date: Version: 1 Page No.: 1

Labor
Coding Level
10 Management Nhut Complete
Salary Form Group 1 Jun,18th 1
System

Labor
Coding Report
11 Management Nhut Complete
Salary Form Group 1 Jun,18th 1
System

Labor
12 Testing Project Management Nhut Complete
System Group 1 Jun, 22th 1

Prepared By (Student) Approved By (Teacher)


Date

Das könnte Ihnen auch gefallen