1. Trang chủ
  2. » Luận Văn - Báo Cáo

database design hr and payroll system

18 0 0
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Tiêu đề Database Design HR and Payroll System
Tác giả Vy Pham, Ha Huy Tong, Phuoc Lam, Nguyen Truong Son, Nguyen Ngoc Huy, Dang Ngoc Quan
Người hướng dẫn MSc Huy Nguyen Dang Quang
Trường học Duy Tan University
Chuyên ngành Information Technology
Thể loại capstone project
Năm xuất bản 2023
Thành phố Da Nang
Định dạng
Số trang 18
Dung lượng 601,03 KB

Nội dung

Capstone Database Design v2.0 – OSM PROJECT PLAN DOCUMENTDocument Title Project Plan ReportingMarch 2023 Authors &project Lam Nguyen Truong, Scrum MasterSon Nguyen Ngoc Member Huy Tong P

Trang 1

International School

Capstone Project 2

CMU-SE 450

Database Design

Version 2.0 Date: 05/5/2023

HR and Payroll System

Submitted by

Vy Pham Ha Huy Tong Phuoc Lam Nguyen Truong Son Nguyen Ngoc Huy Dang Ngoc Quan Approved by Huy Nguyen Dang Quang M.Sc

Proposal Review Panel Representative:

Capstone Project 2-Mentor:

Trang 2

PROJECT INFORMATION Project Acronym PMS

Project Title KidsLand

Lead Institution The Faculty of Information Technology, Duy Tan University Project Mentor MSc Huy Nguyen Dang Quang

Product Owner &

Contact Details

MSc Huy Nguyen Dang Quang Email: huyndq@duytan.edu.vn Phone: 0935525354

m

0966924159

Lam Nguyen Truong

truonglamdev070303@g mail.com

0879525060

Son Nguyen Ngoc captianson@gmail.com 0326298990 Huy Tong Phuoc tonghuy176@gmail.com 0327501094 Huy Dang Ngoc

Quan

huydang080602@gmail.co m

0898210504

Trang 3

Capstone Database Design v2.0 – OSM PROJECT PLAN DOCUMENT

Document Title Project Plan

Reporting

Period

March 2023

Author(s) &

project Lam Nguyen Truong, Scrum Master

Son Nguyen Ngoc Member

Huy Tong Phuoc Member

C2SE.08-DatabaseDesignDocument- OSM.docx

URL

Access Project and CMU Program

Trang 4

DOCUMENT HISTORY

Trang 5

Capstone Database Design v2.0 – OSM

CONTENTS

1 Introduction 1

1.1 Purpose 1

1.2 Document Objectives 1

1.3 Intended Audience 1

1.4 Scope 1

1.5 System Overview 2

1.6 Acronyms And Abbreviations 2

2 System Overview 2

2.1 Database Management System Configuration 2

2.2 Database Software Utilities 3

2.3 Support Software 3

3 Database-Wide Design Decisions 3

3.1 Key Factors Influencing Design 3

3.2 Performance And Availability Decisions 3

4 Database Administrative Functions 3

4.1 Responsibility 3

4.2 Applications/Systems Using the Database 3

4.3 Physical Design 4

4.3.1 Detail table 4

5 Entity Mapping 13

6 References 15

Trang 6

LIST OF TABLES

Table 1: System Overview 2

Table 2: Acronyms And Abbreviations 2

Table 3: Database Software 3

Table 4: Support Software 3

Table 5: Responsibility 3

Table 6: Systems Using the Database 3

Table 7: User 4

Table 8: Location 5

Table 9: Image 6

Table 10: Post 7

Table 11: Category 8

Table 12: Service 8

Table 13: Package 9

Table 14: Appointment 10

Table 15: Feedback 12

Trang 7

Capstone Database Design v2.0 – OSM

TABLE OF FIGURES

Figure 1 Entity Mapping 14

Trang 8

C2SE.08 8

1 Introduction

1.1 Purpose

The database design document aims to provide a comprehensive overview of the database structures for the HR (Human Resources) and Payroll systems within the Online Service Market (OSM) web application It delineates the tables and their interrelationships, serving as the backbone for efficient data management and processing Furthermore, it elucidates the significance of databases in storing and organizing essential HR and payroll-related

information, vital for effective workforce management and financial operations

1.2 Document Objectives

This document seeks to achieve several objectives:

To outline the design of the HR and Payroll databases, elucidating their roles as repositories of employee-related data and financial information

To serve as a reference guide for implementing and maintaining the databases, ensuring alignment with the requirements of the OSM web application

To provide insight into the database design for technical developers, architects, designers, developers, and quality assurance personnel involved in software development and testing

1.3 Intended Audience

The document caters to a diverse audience, including:

Technical developers responsible for evaluating, implementing, and maintaining the

HR and Payroll databases

Architects tasked with designing the overall architecture of the databases to meet the requirements specified in this document

Designers involved in crafting the database schemas and data models based on the outlined specifications

Developers responsible for implementing the database design and ensuring compliance with the document's requirements

Quality assurance personnel tasked with validating the database design through test cases to ensure functionality and reliability

1.4 Scope

The Database Design Document encompasses the following scope for the HR and Payroll databases:

Logical and physical definitions of the database structures, including tables, relationships, and data attributes

Non-functional considerations such as performance, scalability, and security requirements

Description of database interfaces and dependencies with other components of the OSM web application

Trang 9

Capstone Database Design v2.0 – OSM

Assumptions and decisions guiding the database design process

Entity-to-table mappings, column definitions, and validation rules

Identification of unique keys and foreign keys to maintain data integrity and enforce referential integrity constraints

1.5 System Overview

Table 1: System Overview

1.6 Acronyms And Abbreviations

Table 2: Acronyms And Abbreviations

RDMS Relational atabase anagement D M System

2 System Overview

2.1 Database Management System Configuration

- System: MS Windows

- Vendor: Digital Ocean

Trang 10

C2SE.08 10

- Services enabled: Linux Virtual Machine

2.2 Database Software Utilities

Table 3: Database Software

Oracle

Corporation

MySQL

This application enables the ability

to manage MySQL database using GUI

2.3 Support Software

Table 4: Support Software

MySQL

Workbench 8.0 Generate ERD diagram of MySQL database.

3 Database-Wide Design Decisions

3.1 Key Factors Influencing Design

- The database should be designed independent when the frontend and backend are still being developed

- The database should be designed to meet the data warehouse principles 3.2 Performance And Availability Decisions

We use common dimensional tables for all the fact tables for better performance

4 Database Administrative Functions

4.1 Responsibility

Table 5: Responsibility

Database

Administrator

System and

Security

Administrator

Huy Tong Phuoc

4.2 Applications/Systems Using the Database

Table 6: Systems Using the Database

Trang 11

Capstone Database Design v2.0 – OSM

4.3 Physical Design

4.3.1 Payroll

4.3.1.1 Employee

Table 7: Employee

each employee, of integer type

EmployeeNumber

False

An integer field serving as the primary key for employee identification

name of the employee, with a maximum length of

45 characters

first name of the employee, also with a maximum length of 45 characters

representing the Social Security Number of the employee

the pay rate of the employee This field is nullable, allowing for flexibility in recording pay rates

Pay Rates_idPay

PK

False An integer field serving as the primary key for pay

Trang 12

C2SE.08 12

rates

the number of vacation days accrued by the employee This field is nullable

representing the total amount paid to the employee in the current year, up to the current date

representing the total amount paid to the employee in the previous year

4.3.1.2 Pay Rates

Table 8: Pay Rates

the primary key for each pay rate entry

Pay Rate Name

VARCHAR(40)

False

A varchar field specifying the name or label of the pay rate, with a maximum length

of 40 characters

representing the base value of the pay rate

the tax percentage applied

to this pay rate

Trang 13

Capstone Database Design v2.0 – OSM

the type of pay

representing the total pay amount associated with this pay rate

PT – Level C

indicating additional pay

or adjustments for specific conditions This field is nullable

Table 1: Employee

Unique identifier to an individual in the database

First name of the individual

Last name of the individual

Middle name or initial of the individual

Date of birth of the individual

A nine-digit number issued to U.S citizens, permanent residents, and temporary (working) residents for taxation and indentification purposes

Indentification number associated with the individual's driver's license

Primary address of the individual

Secondary address line

of the individual, if applicable

City of the individual's current address

Country of the individual's current address

Trang 14

C2SE.08 14

ZIP or postal code of the individual's current address CURRENT_GENDER nvarchar(20) Checked Gender identity of the individual

Phone number of the individual

Personal email address

of the individual

Marital status of the individual (e.g., single, married, divorced)

Ethnic or cultural background of the individual

Indicates whether the individual is a shareholder in a company or organization

Identifier for the benefit plan(s) the individual is enrolled in

Table 2: Benefit plans

BENEFIT_PLANS_ID numeric(18, 0) PK Unchecked

Unique identifier or each benefit plan

PLAN_NAME nchar(10) Checked Name or title of the benefit plan

The amount of money that an individual must pay out of pocket before their insurance coverage kicks in

PERCENTAGE_COPA

The percentage of costs for covered services that an individual

is required to pay after meeting the deductible

Table 3: Employment

EMPLOYMENT_ID

numeric(18,

Unique identifier for each employment record

Code or designation representing the type

or category of employment

Current status of the individual's employment

Trang 15

Capstone Database Design v2.0 – OSM

Date when the individual was hired for employment

Code indicating the type of workers' compensation coverage associated with the employment

Date when the individual's employment was terminated, if applicable

Date when the individual was rehired after termination, if applicable

Date of the individual's last performance review or evaluation

NUMBER_DAYS_REQUIREMENT_O

F_

The number of days required for the individual to work per month as per their employment agreement or contract

Unique identifier linking the employment record to the individual's personal information Table 4: Job history

Constrain

JOB_HISTORY_ID numeric(18, 0) PK

Unchecke d

Unique identifier for each job history record

EMPLOYMENT_I

Identifier linking the job history record

to the corresponding employment record

Department within the organization where the individual worked

Division or subgroup within the organization where the individual worked

JOB_TITLE nvarchar(250) Checked Title or designation of the job position SUPERVISOR nvarchar(250) Checked Name or identifier of the supervisor

Trang 16

C2SE.08 16

overseeing the individual in the job position

Location or site where job position was based

Description or categorization of the type of work performed in the job position

Table 5: Employment working time

EMPLOYMENT_WORKING_TIME_I

D

numeric(18,

Unchecke d

Unique identifier for each record related to employment working time

EMPLOYMENT_ID

numeric(18,

Identifier linking the employment working time record to the corresponding employment record

The year for which the working time information is recorded

The month for which the working time information is recorded

NUMBER_DAYS_ACTUAL_OF_

The actual number of days the individual worked during the specified month

TOTAL_NUMBER_VACATION_

The total number of vacation days taken by the individual during the specified month

5 Entity Mapping

Trang 17

Capstone Database Design v2.0 – OSM

Trang 18

C2SE.08 15

6 References

- [SDA] 006 Database Design.docx (Man, Nguyen Duc)

- https://drawsql.app/teams/dac-1/diagrams/osm

Ngày đăng: 25/04/2024, 16:26

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN