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.
Trang 1Website: http://www.docs.vn Email : lienhe@docs.vn Tel : 0918.775.368
Library Management System
Group 3
Group Member
Pham Thi Nhung dongsongvatienghat2001@yahoo.com
Le Huu Long longlh04300@yahoo.com
Nguyen Quang Hien hiennguyenquang91@gmail.com
Nguyen Hai Ninh ninhfanmu@gmail.com
Teacher Vu Tran Lam lamvt@fpt.com.vn
Trang 21 Problem Definition 1
1.1 Problem Abstraction 1
1.2 The Current System 1
1.3 The Proposed System 2
1.4 Boundaries of the System 2
2 Customer Requirements Specification 2
1.5 Users of the System 2
1.6 System functions 2
Function User 2
13.Hardware and Software Requirements 6
13.1 Minimum Requirements 6
13.2 Recommended Requirements 6
13.3 Software 7
3 Architecture & Design of Project 7
4 Database Design/Structure 19
5 Database Design/Structure 21
1 Problem Definition
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
Mohan Ltd has a library which is managed by Ms Monica manually All
records are on paper and Monica finds it very difficult to manage when somebody issues or returns the books She has to maintain list of books along with details such as Author name, book title etc When a book is to be issued, she has to manually search for that book and again for issuing book she has to maintain a register which will have details of book issued such as Name of the book, Author, Employee details (name, department etc) , Date of issue, Date of return, etc This process is tedious and time consuming She has brought it to the notice of her seniors and they have proposed the solution of developing a system which will
Trang 3help Monica managing the things more effectively and also save her time Shewill be the only user of the system
- Software Library Management Book of we will help to Ms Monica, canmanage book have library same manage business borrow and return book
Boundaries of system will built:
- Software Library Management Book of we, have size small only use to acompany
2 Customer Requirements Specification
The object influence system include:
- User
Function User
1 Add, edit Employee
Description User add, edit employee
Input -Employee ID
Trang 42 Delete Employee
Description User delete employee
Input -Employee ID
Process Update data in database when delete employee
Output Display announcement you deleted successful
3 Add, edit Book
Description User add, edit book
Input -Book ID
-CallNumber(XX-XX-XXX)-ISBN.(XXX-XXXX)
-Title
-Phone Number
-PubHouse
Process Update data in database when add, edit book
Output Display book edit và book new
4 Delete Book
Description User delete book
Input -Book ID
Process Update data in database when delete book
Output Display announcement you deleted successful
Trang 55 Add, edit, delete User
Description User add, edit, delete user
Input -User ID
-Name
-User Status
Process Update data in database when add, edit, delete user
Output Display user edit và user new
6 Search Book Description User search book
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
Trang 6-ISBN number.
-Title
-Author
-Employee ID
Process Update data in database when librarian add the ballok give borrow book
Output -Display result the ballok borrow book
8 Check In Description User agree the book return from Employee, search Employee Name
Input -Date borrow
-Date due
-Employee Name
Process 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
Output -Display result the ballok give the book return
9 Display information detail book
Description Function give the librarian see the book detail
Input -Choose the book need see
Process To take the information book from database
Output -Display the information require
10 Display information detail employee Description Function give the librarian see the book detail
Input -Choose the Employee need see
Process To take the information book from database
Output -Display the information require
Trang 711.Log in Description To allow the librarian log in.
Input -UserName and Password
Process Check UserName and Password in database
Output -Display the result log in
12.Log out Description To allow the librarian log out
Input - UserName and Password
Process Check UserName and Password in database
Output -Display the result log out
13.Hardware and Software Requirements
13.1 Minimum Requirements
Minimum
PC Pentium II 600 MHz 128MB RAM
500 MB hard drive
13.2 Recommended Requirements
Preferred
PC Pentium III 1800 MHz
Trang 83 Architecture & Design of Project
3.1 Data Flow Diagram
3.1.1 Context Diagram
User
Library Management System
3.1.2 Login, logout
User LogIn
4.1
LogOut 4.2
User,Pass Msg
Info 4.3
User
User
3.1.3 Add, edit, delete User
Trang 9View 2.2 User
Edit 2.4
User
InfomatioView
InfomationUser
Search 2.3
InfomationSearch
Delete 2.5
Add 2.1
UserID
3.1.4 Add, edit, delete Book
Trang 10View 1.2 User
Edit 1.4
Book
InfomatioView
InfomationBook
Search 1.3
InfomationSearch
Delete 1.5
Add 1.1
BoookID
3.1.4 Login, logout
Trang 11User LogIn4.1
LogOut 4.2
User,Pass Msg
Info 4.3
Trang 12View 5.2 User
Edit 5.4
Employee
InfomatioView
InfomationEmployee
Search 5.3
InfomationSearch
Delete 5.5
Add 5.1
EmployeeID
3.1.6 Check in, check out
Check Out 3.1
InformationBorrow
Check In 3.2
Trang 13- Check entry of User and Password (Validations) if valid will be connect
database, if invalid will be appear a dialog message “User or Password
invalid Let try it”
- User and password suit database >>>Login Succefully
2 View
*View: Can be display informations of Book table and Employee table…
* Description:
- Select record , Click button View it will be connect to database
- If data is exist, display your view information
- If it is not exist will have a dialog message “Do not data What you want
YesNo
Trang 14- Check exist ID.
- Display information your update
- Update and check valid information, if data is not valid it will appear a
dialog message “Data invalid”.
If data is valid it will be edited in database >>>Update succeffully
Trang 15Update
Display message information invalid
Display information Check ID
Modifer information
Update to table
information invalidNo
Yes
Trang 165 Search
*Search : This is tool search CallNumber, ISBN, Title, Author
* Description:
- Input your search information
- Check data is input
Stop
If(ID = Cus_ID)
Delete from table
information invalid
Yes
No
Trang 17Display information
If information valid
View from tableYes
Trang 187 Check out
Start
View list borrow and choice borrow manage need
Input Date Real
Date Real Date Due
->5
You punish 10cent/day
Stop
YesNo
Trang 19Start
Choice new Employee
or old Employee in list
Input date due and add books Employee want checkout
Display book list Employee choose
Employee can borrow book
Total Book borrow
Stop
BookCopy >0
YesNo
Trang 20
4 Database Design/Structure
4.1 Borrow
BorrowId int 4 Primay key, identity(1,1) Code ballok book borrow StartDate datetime Default getdate() Day book borrow
DueDate datetime Default getdate() Day appoint book returnRealDate datetime Default getdate() Day book return
EmployeeID int 4 Foreign key, not null Code Employee
4.2 Book
Trang 21BookId int 4 Primay key, identity(1,1) Code book
CallNumber varchar 50 Not null
ISBN varchar 50 Not null
PublishHouse varchar 50 not null Name Publish HouseNumOfContinue int check>=0 Number book continue
Primay key, identity(1,1), Foreign
4.4 Employee
EmployeeId int 4 Primay key, identity(1,1) Code Employee
PhoneNumber varchar 50 Not null Phone Employee
Department nvarchar 50 check>=0 Department company
Store gender of user
If = 0 : Female
If = 1 : Male
4.5 User
U_Name Varchar(30) No Store name of user
UserName Varchar(30) No Store username of user
Password Varchar(32) No Store password of user
Trang 22If = 0 : Female
If = 1 : MalePhone Varchar(20) Yes Store phone of user
4.6 Subject
SubjectID int 4 Primay key, not null Store code subjectSubjectName nvarchar 450 not null Store name subject
5 Database Design/Structure
Login
Trang 23Home
Trang 24User Management
Employee Management
Book Management
Trang 25Borrow Management
Trang 26Edit User
Trang 27Edit Employee
Trang 28Edit Book
Trang 29Add User
Trang 30Add Book
Trang 31Add Employee
Trang 32Add Borrow
Trang 336.Task Sheet
Project Ref No.: Project
title
Activity Plan Prepared
Actual Days
Team Member Names
Status
I.Document
1 Problem Definition Library
ManagerSystem
- Pham Thi Nhung
- Nguyen Quang Hien-Le Huu Long-Nguyen Hai Ninh
- Pham Thi Nhung
- Nguyen Quang Hien-Le Huu Long-Nguyen Hai Ninh
Completed
Design
LibraryManagerSystem
-Nguyen Quang Hien
- Pham Thi Nhung
-Pham Thi Nhung
Completed
ManagerSystem
-Nguyen Huu Long
Trang 345 Borrow Manager,
User Manager,
Add
LibraryManagerSystem
Pham Thi Nhung Completed
ManagerSystem
-Nguyen Huu Long
Completed
ManagerSystem
-Nguyen Quang Hien
Completed