Tải bản đầy đủ (.docx) (52 trang)

Blue Pumpkin (Database+Source Code+lib+Excel)

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (2.43 MB, 52 trang )

Page |1

Aprotrain – Aptech computer education

Blue_PumpKin Project
Team name
GROUP 3

Members
Dao Trung Hieu
Nguyen Huy Viet
Trieu Minh Tuan


Page |2

Hanoi 2012
TABALE OF CONTENT

CHAPTER 1: SYSTEM SYNOPSIS

CHAPTER 2: SYSTEM ANALYSIS.

This project is designed to manage the events and activities for the employees in
the company.activities including games, sports events, music, outdoor activities
...direction to tighten the good friendship relationship among employees in the
company and company gives employees a strong spiritual life represents the life of the
company policy.

2.2
SYSTEM REQUIREMENTS SPECIFICATION.


2.2.1 Existing scenario
Following is a list of functionalities of the system.


Page |3
There are HR group who will create vacancies, create applicants (persons applying for a
vacancy), initiate interviews and close vacancy. There are interviewers who will be
intimated about the interview schedule and finally enters the result.
The requirements are as follows:

Our client wants the application to perform the following tasks :
1. The portal will have the following logins
Admin
Employee
2. The admin will have the authority to create and delete the profile of an employee.
3. The employee profile once created, can login in to the site through the user name
and the password provided.
4. On the home page of the website, the details of the upcoming events like
meetings, games, competitions, etc. in the company will be displayed in brief.
5. To encourage the employees and to build a friendly rapport in the company they
started conducting games and distributing the prizes.
6. The home page should also include the winners details of the events conducted
recently.
7. The admin will have the right to accept the participation request based on the
requirement.
8. Also the application should have a reminder, which will remind about the
birthdays of the day. And this reminder should be active for all the user logins
(admin, and employee)
9. Once the employee logins into the site, how will be able to send his request for
the participation in any of the events.

10.He can also view the details of the events in detail.
11. The site should also contain the FAQ s like
How to participate in the events?
What if I am unable to login into the site?
What if I am unable to send the participation request for the event?
How can one be intimated with the upcoming events
12. There should be a contact and support page where the details of the people ato
be contacted, etc. to be displayed.


Page |4

2.3 DATA FLOW DIAGRAMS.
 Context Diagram

View remind Birthday
View Prizes details

View event list
View profile
Register information

Employee

Login

Services
information
system


Administrator
Manager system

Display information of user
Return information of Employee
Display event list
Display Prizes
Display Remind birthday


Page |5

 DFD Level 0. System Process
Send Contact
Register Event
Remind birthday result
View remind birthday

View event details

Employee

Take
Request

Return prizes details
Return event list

Event details
View profile


return profile of the employee
Return remind birth day

Profile details
View prizes details
Prizes details result
View FAQ

Register Event DB

FAQ result
Insert delete update
Manager Employee

Administrator
Result Manager Employee

Employee DB

Manager
system

insert delete update
Event DB
Inset delete update
Prizes DB
Insert delete update

Contact DB

delete


Page |6

 DFD Level 1 for user’s functions Process
Select profile

View profile

Select Event

View Event

Employee

Login successfully

Take
Request

Send contact

Send Contact

Login false
Register Event

Register Event


Logout
Select FAQ

View birthday

View FAQ

View remind
Birthday

 DFD Level 1 for administrator’s functions Process
Prizes manager result

Manager Prizes

Prizes manager

Event manager result

Manager FAQ

Event manager

Employee manager
Administrator

Manager Employee

Employee manager result


Event manager
Employee manager result

Manager Event


Page |7

Manager Contact

Contact manager
Contact manager result

2.4 ENTITY RELATIONSHIP (ERD)
 Entity

User
Prize

 Entity Relationship Diagram (ERD)

Event
FAQ

Department
Event Type


Page |8
 Entity and Property


Figure Employee

Figure Event


Page |9

Figure Prizes

Figure FAQ

2.5 DATABASE.
2.5.1 Physical database diagram.


P a g e | 10

2.5.2

Description of Tables.

Tbl_Contact:
Column_Name
Contact_id
Contact_Name
Email
Subject
Message


Type
int
varchar
varchar
varchar
varchar

Description
Id of contact
Name of contact
email
subject
message

Tbl_FAQ:
Column_Name
Faq_Id
Question
Answer
Status

Type
int
varchar
varchar
varchar

Description
Id of FAQ
Question

answer
Status


P a g e | 11

Tbl_Employee:
Column_Name
Emplyee_Id
User_Name
Password
Birthday
Phone
Email
FullName
Sex
Status

Type
int
varchar
varchar
Date
varchar
varchar
varchar
bit
varchar

Description

Id of Employee
User name
password
birthday
Phon number
email
Full name
sex
status

Tbl_RegisterEvent:
Column_Name
Create_Date
Employee_Id
Event_Id
Description
PrixeId

Type
int
int
int
varchar
int

Description
Create date
Id of Employee
Id of event
description

Id of prize

Tbl_Event:
Column_Name
Event_Id
title
Image
Description
StartDate
EndDate
EventTypeId
Status

Type
int
varchar
image
varchar
Date
Date
int
varchar

Description
Id of event
title
image
description
Start_date
End_date

Id of type event
status

Tbl_EvenType:


P a g e | 12

Column_Name
EventTypeId
Event_name
Description
Status

Type
int
varchar
varchar
varchar

Description
Id of Type event
Name of event
description
Status

Tbl_Prize:
Column_Name
Prize_id
Prize_name

Description
Event_id

Type
int
varchar
varchar
int

Description
Id of Prize
Name of Prize
description
Id of event

Type
int
int

Description
Id of employee
Id of Prize

Tbl_PrizeDetail:
Column_Name
Employee_id
Prize_id

2.6 Flow CHARTS
2.6.1 Normal function of website

2.6.1.1 View brief description of blue pumpkin
Start

Selected
menu

Get
information


P a g e | 13

Display
information

End

2.6.1.2 View result of Employee
Start

User & password
Error
Error

Validate

False

Valid
Data


Authenticate
account

Authenticate?
False

True
Get information
of employee

Display result
False
End


P a g e | 14

2.6.1.3 View Event of the Blue pumpkin
Start

Selected
event

Get information

Display information

End


2.6.1.4 View Ask Questions ( FAQ’s).


P a g e | 15

2.6.1.5

View Prizes information.
Start

Selected
Prizes

Get information

Display information

End

2.6.1.6 Register event


P a g e | 16

Start

Register
event

Process

register event

Display

End

2.6.2 The functions of system management for administrator.
2.6.2.1 System login

Start

User & password
Error
Error

Validate

Valid
Data

Authenticate
account

Authenticate?

False


P a g e | 17


False

True
System manager
screen

Display result
False
End

2.6.2.2 Employee Management
2.6.2.2.1 add new employee

Start

Input new employee
Error
Validate

Valid
Data

True
Add data into
database

False


P a g e | 18


Message: Succsess
& display

False
End

2.6.2.2.2 edit employee

Start

Employee selection
Error
Validate

Valid
Data

True
Update into
database

False


P a g e | 19

Message: Succsess
& display


False
End

2.6.2.2.3 delete employee

Start

Employee selection
Error
Get information

Delete

True

False


P a g e | 20
Delete into
database

Message: Succsess
& display

False
End

2.6.2.3 Event management
2.6.2.3.1 add new event


Start

Input new event
Error
Validate

Valid
Data

False


P a g e | 21

True
Add data into
database

Message: Succsess
& display

False
End

2.6.2.3.2 edit event

Start

Event

selection

Error
Validate

Valid
Data

False


P a g e | 22

True
Update into
database

Message: Succsess
& display

False
End

2.6.2.3.3 delete event

Start

Event selection
Error
Get information



P a g e | 23

Delete

True
Delete into
database

Message: Succsess
& display

False
End

2.6.2.4 FAQ management
2.6.2.4.1 Add new FAQ

Start

False


P a g e | 24
Input new FAQ
Error
Validate

Valid

Data

True
Add data into
database

Message: Succsess
& display

False
End

2.6.2.4.2 Edit FAQ

Start

False


P a g e | 25

FAQ
Selection

Error
Validate

Valid
Data


True
Update into
database

Message: Succsess
& display

False
End

2.6.2.4.3 Delete FAQ

False


×