0% found this document useful (0 votes)
159 views3 pages

Class Diagram of LMS

The document describes a class diagram for a library management system with the following classes: Library, Books, Librarian, Students, Journals, Staff, and Account. It lists attributes and methods for each class, including book name, author, ID for Books; name, ID for Students; name, ID for checking accounts and fines for Account. The key classes and their relationships are modeled to represent core functions of the library system.

Uploaded by

Ishrat Fatima
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
159 views3 pages

Class Diagram of LMS

The document describes a class diagram for a library management system with the following classes: Library, Books, Librarian, Students, Journals, Staff, and Account. It lists attributes and methods for each class, including book name, author, ID for Books; name, ID for Students; name, ID for checking accounts and fines for Account. The key classes and their relationships are modeled to represent core functions of the library system.

Uploaded by

Ishrat Fatima
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 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