Вы находитесь на странице: 1из 6

Database Table Structure

Table Name : admin_Detail

Description : his table is to store the admin login Details.

Primary key : admin_id

Field Type Constrains Default

primary key
Admin_Id varchar(11) Id

not null
Username varchar(25) Username

not null
Password varchar(25) Password

Table Name : Category_Detail

Description : his table is to store the category Details..

Primary key : category_id

Field Type Constrains Default

primary key
Category_Id varchar(11) Id

not null
CategoryName varchar(25) Category Name

not null
CategoryDescription Longtext Category Description

not null
CreationDate Timestamp Creation Date

not null
Update Date varchar(25) Update Date

Table Name : Subcategory_Detail


Description : his table is to store the Subcategory Details.

Primary key : Subcategory_id

Field Type Constrains Default

primary key
Subcategory_Id varchar(11) Id

not null
Categoryid int(11) Category id
not null
Subcategory varchar(25) Sub category

Table Name : Order_Detail

Description : his table is to store the order Details.

Primary key : order_id

Field Type Constrains Default


primary key
Order_Id varchar(11) Id
secondary key
UserId int(11) User Id
secondary key
ProductId varchar(25) Product Id
not null
Quantity int(11) Quantity
not null
OrderDate Timestamp Order Date
not null
PaymentMethod varchar(50) Payment Method
not null
OrderStatus varchar(55) Order Status

Table Name : Ordertrackhistory _Detail

Description : his table is to store the Order track history Details.


Primary key : Order_track_id

Field Type Constrains Default

primary key
Order_track_id varchar(11) Id

secondary key
OrderId int(11) Order Id

not null
Status varchar(25) Status

Remark Mediumtext not null Remark


PostingDate timestamp not null Posting Date

Table Name : product reviews _Detail

Description : his table is to store the Product reviews Details.

Primary key : pro_rev_id

Field Type Constrains Default


primary key
pro_rev_id varchar(11) Id
secondary key
ProductId int(11) Product Id
not null
Quality int(11) Quality
not null
Price int(11) Price
not null
Value int(11) Value
not null
Name varchar(25) Name
not null
Summary varchar(25) Summary
not null
Review Longtext Review
not null
ReviewDate timestamp Review Date

Table Name : product_Detail

Description : his table is to store the Product Details.

Primary key : p_id

Field Type Constrains Default


P_Id varchar(11) primary key Id
Category int(11) secondary key Category
SubCategory int(11) secondary key Sub Category
ProductName varchar(25) not null Product Name
ProductPrice int(11) not null Product Price
ProductPriceBeforeDiscount int(11) not null Product Price Before Discount
not null
ProductDescription Longtext not null

not null
productImage1 varchar(25) productImage1

productImage2 varchar(25) not null productImage2

productImage3 varchar(25) not null productImage3

Shopping Charge int(11) not null Shopping Charge

ProductAvailability varchar(25) not null Product Availability

PostingDate timestamp not null Posting Date

Update Date varchar(25) not null Update Date

Table Name : login _Detail

Description : his table is to store the user login Details.

Primary key : user_id


Field Type Constrains Default
primary key
user_id varchar(11) Id
not null
UserEmail varchar(25) User Email
secondary key
User id (16) User id
not null
LoginTime timestamp Login Time
not null
Logout varchar(25) Logout
not null
Status int(11) Status

Table Name : order_Detail

Description : his table is to store the order Details.

Primary key : order_id

Field Type Constrains Default


primary key
Order_id varchar(11) Id
Name varchar(25) not null Name

Email varchar(25) not null Email

Contactno Bigint(11) not null Contact no

Password varchar(25) not null Password

Shopping Address Longtext not null Shopping Address

Shopping State varchar(25) not null Shopping State

Shopping City varchar(25) not null Shopping City

Shopping Pincode int(11) not null Shopping Pin code

BillingAddress Longtext not null Billing Address

BillingState varchar(25) not null Billing State

BillingCity varchar(25) not null Billing City

BillingPincode int(11) not null Billing Pin code

Вам также может понравиться