Field Type Constraint User/Admin Field Type Constraint

You might also like

Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 4

Field Type Constraint

User/Admin

Field Type Constraint


user_id Integer Primary key, Not null
Username Varchar(30) Not null
Password Varchar(30) Not null

Registration as a vender

Field Type Constraint


r_id Integer Primary key,Not null
f_name Varchar(30) Not null
s_name Varchar(30) Not null
email-id Varchar(30) Foreign key, Not null
verify_email Varchar(30) Not null
password Varchar(30) Not null
c_password Varchar(30) Not null
security_q Varchar(30) Not null
b_name Varchar(30) Not null
category_type drop down Foreign key,Not null
c_number Integer Not null
city drop down Not null

Registration as a customer

Field Type Constraint


f_name Varchar(30) Not null
s_name Varchar(30) Not null
email-id Varchar(30) Not null
verify_email Varchar(30) Not null
c_number Integer Not null
Password Varchar(30) Not null
c_password Varchar(30) Not null

Category

Field Type Constraint


c_id Integer primary key,Not null
c_image Varbinary(max) Not null
category_type drop down Foreign key,Not null
Package Master

Field Type Constraint


package_id Integer Primary key,Not null
p_quantity Integer Not null
p_amount Integer Not null

Customer Transaction

Field Type Constraint


cust_id Varchar(30) Primary key,Not null
amount Integer Not null
tax% Varchar(30) Not null
tax_amt Integer Not null
disc_amt Integer Not null
total Integer Not null
package_id Integer Foreign key,Not null

Booking Table

Field Type Constraint


booking_id Integer Primary key,Not null
cust_id Integer Foreign key,Not null
payment_id Integer Not null
booking_date date Not null
v_id Varchar(30) Not null
Description

Description
id
Username
Password

Description
Register id
First name
Second name
Email address
Email address verification
Password
Confirm password
Security check
Business name
name of category
Contact number
City

Description
First name
Second name
Email address
Email address verification
Contact number
Password
Confirm password

Description
Category id
Image
name of category
Description
Package id
Quantity number
Package amount

Description
Customer id
Amount
Tax percentage
Tax amount
Discount amount
Total amount
Package id

Description
Booking id
Customer id
Payment id
Date of booking
Vender id

You might also like