Académique Documents
Professionnel Documents
Culture Documents
Group 1
Group 1
Group Member
VN.015/200803/5324 V c H
VN.015/200707/4752 Lu Tun Anh
VN.015/200803/5561 Anh c
Instructor
- Hanoi, 10/2009 -
Page 1 of 19
Group 1
INDEX
1.
Problem Definition..........................................................................................................3
1.1.
Problem Abstraction................................................................................................3
1.2.
The Current System.................................................................................................3
1.3.
The Proposed System...............................................................................................3
1.4.
Boundaries of the System........................................................................................3
1.5.
Hardware and Software Requirements....................................................................3
1.5.1.
Minimum Requirements..................................................................................3
1.5.2.
Recommended Requirements..........................................................................3
2. Customer Requirements Specification.............................................................................4
2.1.
Users of the System.................................................................................................4
2.2.
System functions......................................................................................................4
3. Architecture and Design of Project..................................................................................5
3.1.
Data Flow Diagram..................................................................................................5
3.2.
Entity Relationship Diagram(Table Design)............................................................5
3.3.
Database Structure...................................................................................................5
3.4.
Screen Design..........................................................................................................5
4. Task Sheet........................................................................................................................6
5. Checklists.........................................................................................................................7
5.1.
Check List of Validation..........................................................................................7
5.2.
Submission Checklist...............................................................................................7
Page 2 of 19
1.
1.1.
Group 1
Problem Definition
Problem Abstraction
To day, business manages system to require the effect and to economize time
.First and foremost in business manages library book of a company .Therefore we
present sofware to manage library book of the Mohan Ltd company.
1.2.
1.3.
1.4.
1.5.
Minimum
Preferred
PC Pentium III 1800 MHz
Library Management System
Page 3 of 19
Group 1
2G RAM
2 GB hard drive
1.5.3. Software
Software:
-JDK 1.6
-Netbean 6.1
-Sql server 2005
User
Description
Input
-Employee ID.
-Name.
-Address.
-Phone Number.
-Department.
-EmployStatus.
Process
Output
Page 4 of 19
Group 1
2. Delete Employee
Description
Input
-Employee ID.
Process
Output
Description
Input
-Book ID.
-CallNumber(XX-XX-XXX)
-ISBN.(XXX-XXXX)
-Title.
-Phone Number.
-PubHouse.
Process
Output
4. Delete Book
Description
Input
-Book ID.
Process
Output
Page 5 of 19
Group 1
Description
Input
-User ID.
-Name.
-User Status.
Process
Output
6. Search Book
Description
Input
-Call number.(XX-XX-XXX)
-ISBN number.(XXX-XXXX)
-Title.
-Author
Process
Access data from database and to take information book satisfy require search.
Output
-If have book then display information book where User search.
-If not have book then display announcement
7. Check Out
Description
Input
-Call number.
-ISBN number.
-Title.
-Author.
-Employee ID
Process
Output
Update data in database when librarian add the ballok give borrow book.
-Display result the ballok borrow book.
Page 6 of 19
Group 1
8. Check In
Description
User agree the book return from Employee, search Employee Name.
Input
-Date borrow.
-Date due.
-Employee Name.
Process
Output
Access data from database and to take information the ballok give borrow book,
compare the due date and return date if The Employee keep a borrowed book in
excess of the time limit then Employee was punish 10 cent each day.
-Display result the ballok give the book return.
Process
Output
Input
Process
Output
11.Log in
Description
Input
Process
Output
Page 7 of 19
Group 1
12.Log out
Description
Input
Process
Output
Level 0:
Level 1:
Page 8 of 19
Group 1
Level 2:
Page 9 of 19
Group 1
Page 10 of 19
Group 1
Level 3:
Library Management System
Page 11 of 19
Group 1
Page 12 of 19
Group 1
3.2.
3.3.
Database Structure
3.3.1. Borrow
Fields
Type
BorrowId
int
StartDate
Size
4
Constraint
Description
datetime
Default getdate()
DueDate
datetime
Default getdate()
RealDate
datetime
Default getdate()
File
int
check>=0
BorrowStatus
bit
Default 0
Status ballok
EmployeeID
int
Code Employee
3.3.2. Book
Fields
Type
Size
Constraint
BookId
int
CallNumber
varchar
50
Not null
ISBN
varchar
50
Not null
Description
Code book
Page 13 of 19
Title
nvarchar
NumOfCopies
int
NameAuthor
varchar
PublishHouse
varchar
NumOfContinue int
100
50
50
Group 1
Not null
Title of book
check>=0
not null
not null
check>=0
Name author
Name Publish House
Number book continue
3.3.3.BorrowDetail
Fields
Type
Size
BorrowID
int
BookID
int
Constraint
Primay key, identity(1,1), Foreign
key, not null
Primay key, identity(1,1), Foreign
key, not null
Description
Code ballok book borrow
Code book
3.3.4.Employee:
Fields
Type
Size
Constraint
Description
EmployeeId
int
Code Employee
Name
nvarchar
50
Not null
Name Employee
Address
varchar
50
Not null
Address Employee
PhoneNumber
varchar
50
Not null
Phone Employee
Department
nvarchar
50
check>=0
Gender
bit
Department company
Store gender of user
If = 0 : Female
If = 1 : Male
Default 0
3.3.5.User
Field Name
U_ID
Int
Data Type
Null Key
No
PK
Store ID of user
Description
U_Name
Varchar(30)
No
UserName
Password
Email
BirthDate
Gender
Varchar(30)
Varchar(32)
Varchar(50)
Datetime
Bit
No
No
Yes
Yes
Yes
Phone
Varchar(20)
Yes
3.3.6.Subject
Library Management System
Page 14 of 19
Fields
Type
SubjectID
int
SubjectName
nvarchar
3.4.
Group 1
Size
4
450
Constraint
Description
not null
Screen Design
Login
Home
Library Management System
Page 15 of 19
Group 1
USER MANAGER
EMPLOYEE MANAGER
Page 16 of 19
Group 1
BOOK MANAGER
BORROW MANAGER
Page 17 of 19
Group 1
4.Task Sheet
Project Ref. No.:
Sr.
No
.
Project
title
Task
Activity
Plan
Prepared
by :
Actual Team
Days
Member
Names
Status
I.Document
1
Problem Definition
Library
Manager
System
- Vu Duc Ha
- Do Anh Duc
Completed
Customer
Requirements
Specification
Library
Manager
System
Completed
DFD
Library
Manager
System
Library
Manager
System
- Vu Duc Ha
- Do Anh Duc
-Luu Tuan
Anh
- Vu Duc Ha
- Do Anh Duc
-Luu Tuan
Anh
Vu Duc Ha
Library
Manager
System
Library
Manager
System
Library
Manager
System
Vu Duc Ha
Completed
Do Anh Duc
Complete
Completed
Completed
II.Coding
Login
User Manager
Employee
Manager
Change Personal
Information
Library
Manager
System
Vu Duc Ha
Completed
Borrow Manager
Library
Manager
System
Vu Duc Ha
Completed
Page 18 of 19
Group 1
Search
Library
Manager
System
Vu Duc Ha
Completed
Change Password
Library
Manager
System
Do Anh Duc
Completed
Book Manager
Library
Manager
System
Vu Duc Ha
Completed
5. Checklists
Option
Do all the options present in the application display the correct result?
Dose the applications functionality resolve the user problem, and satisfy their
needs?
Has the hardware and software been correctly chosen?
Validated
Yes
Yes
Yes
Page 19 of 19