You are on page 1of 3

LIBRARY MANAGEMENT SYSTEM CLASS DIAGRAM:

By

Ishrat Fatima

Library:
-username
-password
+login()
+register()
+logout()

Books:
-book name (string)
-title(string)
-Author(string)
-id(int)
+find book()

Librarian
-name(string)
-id(int)
-password
searchstring
Verify-librarian()
search()

students:
-name(string)
-id(int)

journals:
-name(string)
-Author(string)
-id(int)
+find journals()
Account
no-borrowed-book
no-reserved-book
no-returned-book
no-lost -book
fine-amount
calculate fine()

library database
list-of-books
add()
delete()
update()
search()

staff:
-name(string)
+Issue journals()
+return journals()

Classes of library mangement system:-

library,Books:library memebers,students,journals and staff .

Attributes of Library Management System :


Library Attributes
Username, Password
Library memebers
Name, Id
Book Attributes
book name, Author, Id
Staff Class Attributes
name
Student Class Attributes
name,id
Methods of library:-
login(),register(),logout(),find book()
user
Name
id
verify()
checkaccount()
getbookinfo()

You might also like