Data Dictionary

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 6

Data Dictionary

Customer
Column
Name

Data Type

Key
Primary key

Null
Not null

Description

Emailid

varchar2(50)

FName

varchar2(20)

Not null

User Email Id as primary


key
User first name

LName

varchar2(20)

Not null

User last name

Address

varchar2(20)

Not null

Cnumber

number

Not null

User address for deliver


address
User contact number

Password

Varchar2(20)

Not null

User password for login

Validate
Column
Name

Data Type

Key
Foreign key

Null

Emailid

varchar2(50)

Not null

Hashcode

varchar2(256)

Not null

Valid_date

Date

Not null

Vtype

varchar2(10)

Not null

Flag

boolean

Not null

Description
User Email Id as Foreign
key
Hashcode MD5
generate combining
emailid and date
Link valid only for 48
hours
Verification type
describe for
register/password link
generate
True-Link used
False-Link not used

Books
Column
Name

Data Type

ISBN

Number

Title

Key
Primary key

Null

Description

Not null

ISBN as primary key

varchar2(20)

Not null

Title of book

Author

varchar2(20)

Not null

Name of book writer

Category

varchar2(20)

Not null

Sub category

number

Not null

Year_publish

varchar2(20)

Not null

Price

number

Not null

Category of book like


computer, cooking etc
Sub Category of book
like Programming,
networking etc
Year in which book
publish
Price of book

Description

varchar2(300)

Not null

Cover_image

long

Not null

Some description about


book
Cover image of book

Stock
Column
Name

Data Type

ISBN

Number

Qty

Key
Primary key

Null

Description

Not null

ISBN as primary key

Number

Not null

Quantity of book in stock

Oqty

Number

Not null

Flag

Boolean

Not null

Quantity of book order


for fill stock
True-order received
False-order not received

Orders
Column
Name

Data Type

Key

Null

Description

Orderid

Number

Primary key

Not null

Orderid is primary key

Emailid

Varchar2(50)

Foreign key

Not null

Ship_date

Date

Not null

Total_amount

Number

Not null

Email id of user ,Foreign


key customer table
Predict date when book
should deliver
Total amount of order

Year

Number

Not null

Order placed year

Month

Number

Not null

Order placed month

Date

Number

Not null

Order placed date

OrderList
Column
Name

Data Type

Key

Null

Orderid

Number

Foreign key

Not null

ISBN

Number

Foreign key

Not null

Qty

Number

RemindMe

Not null

Description
Orderid is Foreign key
from Orders table
ISBN number of book
Foreign key customer
table
Quantity of book order

Column
Name

Data Type

Key

Null

Emailid

Varchar2(50)

Foreign key

Not null

ISBN

Number

Foreign key

Not null

Flag

Boolean

Not null

Description
Email id of user for send
email ,Foreign key
customer table
ISBN number of book
Foreign key customer
table
True-email send to user
False-email not send to
user

Offer
Column
Name

Data Type

Key

Not null

Description

ISBN

Number

Offer

Varchar2(20)

Not null

ISBN number of book


Foreign key customer
table
Description of offer

VDate

Date

Not null

Date till offer valid

Rating

Foreign key

Null

Column
Name

Data Type

ISBN

Number

Stars
Users

Key
Primary key

Null

Description

Not null

ISBN as primary key

Number

Not null

Number of stars

Number

Not null

Number of users given


Stars

Comments
Column
Name

Data Type

Key

Null

ISBN

Number

Foreign key

Not null

Emailid

Varchar2(50)

Foreign key

Not null

Stars

Number

Not null

Comment

Varchar2(300)

Not null

Bank

Description
ISBN number of book
Foreign key customer
table
Email id of user who
give rating
Number of stars given
by user
Comment given by user

Column
Name

Data Type

Key

Null

Description

Emailid

Varchar2(50)

Foreign key

Not null

Email id of user

CardNo

Number

Primary key

Not null

Name

Varchar2(50)

Not null

Card number of
credit/debit/visa card of
user
Name of user

Amount

Number

Not null

Amount at user account

CVV

Number

Not null

Exp

Date

Not null

CVV (card verification


value) number present
on card
Expiry date of user card

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy