Sunteți pe pagina 1din 5

Tables

Book_Details:

This is the master table for all the books that are available in the Library. This table
contains the complete list of books that are available in the library. Each Book id
provided with a unique ISBN which serves as a primary key. The book details include
the ISBN, Book Title, author of the book, the year in which that particular book was
published, no of copies.

Columns

ISBN: This is unique ID given to every book .Since there may be a large no. of books
with same TITLE, this ISBN no. will help us to distinguish between books of same title.

Book_Title: Provides the name of the book.

Publication_year: Contains the year of publication in ‘YY’ format (eg:2009à09)

Language: Contains the language in which this book was published.

Category_Type: This column contains the Category ID whose details can be fetched
form the category_master table. The category ID is a Unique number given to each
category.

No_of_copies: this column contains total no of copies present of that book.

Student_Details:

This table contains the details of all the students they are eligible for availing Library
facilities. Each student will be provided with a unique Student ID and Borrower ID. The
student ID will be Primary Key, whereas university gmail and Phone_no will be Unique.

Columns:

Student_id: Unique ID given to Each Student.

Student_Name: The Name of the Student.

Department: This contains student department.

Contact_Number: Contact number of the student.

Books_history: total books taken by the student till date.


University_gmail: Unique gmail ID given to Each Student.

faculty_Details:

This table contains the details of all the faculty they are eligible for availing Library
facilities. Each faculty will be provided with a unique faculty ID. The student ID will be
Primary Key, whereas university gmail and contact_number will be Unique.

Columns

faculty_id: Unique ID given to Each faculty.

faculty_Name: The Name of the faculty.

Department: This contains faculty department.

Contact_Number: Contact number of the faculty.

Books_history: total books taken by the faculty till date.

University_gmail: Unique gmail ID given to Each faculty.

Desigination: graduation of the faculty.

Library_employee_Details:

This table contains the details of all the employee that they are eligible for availing
Library facilities. Each employee will be provided with a unique employee ID. The
employee ID will be Primary Key, whereas contact_number will be Unique.

Columns

employee_id: Unique ID given to Each employee.

employee_Name: The Name of the faculty.

Contact_Number: Contact number of the faculty.


Desigination: status of the employee.

Salary: salary given to the employee.

Issue status_details:

This table contains details of issue of books in which issue_id, ISBN as primary key.

Columns

faculty_id: Unique ID given to Each faculty.

Student_id: Unique ID given to Each Student.

ISBN: This is unique ID given to every book .Since there may be a large no. of books
with same TITLE, this ISBN no. will help us to distinguish between books of same title.

Book_Title: Provides the name of the book.

Issue_id: Unique ID given to each distribution of the book.

Issue_date: the date of distribution.

Due_date: the expiry of the distribution.

Return status_details:

This table contains details of issue of books in which return_id, ISBN as primary key.

Columns

faculty_id: Unique ID given to Each faculty.

Student_id: Unique ID given to Each Student.

ISBN: This is unique ID given to every book .Since there may be a large no. of books
with same TITLE, this ISBN no. will help us to distinguish between books of same title.

Book_Title: Provides the name of the book.

return_id: Unique ID given to each return of the book.

return_date: the date of return of book.


Due_date: the expiry of the distribution.

Acc_number: the unique number given by the bank for the each bank account.

Payments_details:

This table contains details of the payments done with library in which transaction id as
primary key and student_id, faculty_id will be unique.

Columns

Txn_id: the unique id given to each transaction.

Amount : The total amount should pay by the student.

return_date: the date of return of book.

Due_date: the expiry of the distribution.

faculty_id: Unique ID given to Each faculty.

Student_id: Unique ID given to Each Student.

Issue_date: the date of distribution.

Payment_date: the date of the payment done.

ISBN: This is unique ID given to every book .Since there may be a large no. of books
with same TITLE, this ISBN no. will help us to distinguish between books of same title.

Book_Title: Provides the name of the book.

Acc_number: the unique number given by the bank for the each bank account.

S-ar putea să vă placă și