0% found this document useful (0 votes)
3 views

project[2]

Uploaded by

Shaik
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)
3 views

project[2]

Uploaded by

Shaik
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/ 4

Admin Features

• By login admin can view own dashboard.


• Can add/edit/ erase category
• Can add/edit/ erase author.
• Can add/edit/ erase books.
• Can issue a new book to user and edit the details after returning the
book. • Can search user by using their user ID.
• Can also view user details.
• Can change own password.
User features
• Can sign up themselves and get user id.
• By login user can view own dashboard.
• User can view all the books in the library.
• Can edit own profile and password.
• Can view issued book and book return date.
The authors library database consists of 6 tables,
• Admin- In this table the admin details are stored. Admin can access all
the tables.
•Student- All the information of the users is saved.
• Book- All the information of the books is saved.
•Author- All the information of the authors is stored.
• Category- All the category of books are saved.
• issuebook- Information’s of all issued book to the users are saved.
ENTITYES AND ATTRIBUTES OF PERSONAL LIBRARY:
Admin Table:
Admin id _int (primary key)
Username_varchar
Email varchar
ADDRESS:
d/o_int
street _varchar
city_varchar
state_vharchar
pincode_int
phone number_varchar
Admin userna email stree city state pincod Phone
id me t e number
101 samned sadhikb@exmple kuyt nad ap 12346 23456776
h .com 5

STUDENT TABLE
Std fullname_varchar
Std id_int
email
Book table
ISBN_string(primary key)
bookname_varchar
cat id_int
author id_int(foreign key)
book price_decimal(6,2)
book image_varchar
registration date _date
genre id _varchar(fk)
issue date_date
ISBN BOOK CAT AUTHO BOOK BOOK IMAGE REG ISSUE
NAME ID R ID PRICE DATE DATE
9876543 Great 101 201 25.91 /images/greatgatsby.jpg 2024- 2024-
gats 06-15 06-22

Genre table
Gener id_intprimary key)
Gener name_varchar
GENERE ID GENERE NAME

1 FICTION
2 MYSTERY
3 THRILLER
4 ROMANCE

Category table:
1.Cat_id int –[primary key]
2. Cat_name varchar
3.Status int
4.Creation_date date
5.Updation_date date

Cat_id Cat_name Status Creation_da Updation_da


te te
101 Availabl 01/01/2023 01/01/2024
Computer Science
e
102 AI-ML Not 01/02/2023 01/01/2024
Availabl
e
103 Information Availabl 01/03/2023 01/01/2024
Technology e
104 Electronics and Availabl 01/04/2023 01/01/2024
Communication e
105 Electrical and Not 01/05/2023 01/01/2024
Electronics Availabl
e
106 Mathematics Availabl 01/06/2023 01/01/2024
e
107 Literature Availabl 01/07/2023 01/01/2024
e
108 Science Not 01/07/2023 01/01/2024
Availabl
e
109 Economics Availabl 01/08/2023 01/01/2024
e
110

When someone borrows a book, we keep a record of who


borrowed it which book they borrowed when they borrowed it
should be returned and when it is actually returned
Issue book table:
 Issue ID_int (primary key)
 Student ID_char(foreign key of user)
 ISBN_VARCHAR(foreign key of book)[international
standard book number
 Issue date_ date date
 Due date_date date
 Return date_date date
 Fine decimal(4,2)
ISSU STUDENT ISBN ISSUE DATE DUE DATE RETURN
E ID ID DATE
1 101 9871234567 2024-06-20 2024-07- 2024-07-
04 03
2 102 9871234568 2024-06-21 2024-07-
05
3 103 9871234589 2024-06-22 2024-07-
06

fine
0.00

AUTHOR TABLE
Autor name _varchar
Author id _int()
Creation date_date
Updation date_date

You might also like