0% found this document useful (0 votes)
29 views1 page

Online Order

The document describes the schema for different database tables used to store order and product data for an e-commerce system. The tables include orders, products, carts, side dishes, payments and other related entities with fields for identifiers, quantities, names, prices and timestamps.

Uploaded by

Maria Ulfah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views1 page

Online Order

The document describes the schema for different database tables used to store order and product data for an e-commerce system. The tables include orders, products, carts, side dishes, payments and other related entities with fields for identifiers, quantities, names, prices and timestamps.

Uploaded by

Maria Ulfah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

order_product_sidedish

order_product
id_order_product_sidedish BIGINT(20)
id_order_product BIGINT(20)
quantity INT(11)
quantity INT(11)
created_at TIMESTAMP
product_name VARCHAR(255)
updated_at TIMESTAMP
product_price DECIMAL(12,0)
cart deleted_at TIMESTAMP
product_cogs DECIMAL(12,0)
id_cart BIGINT(20) company order_product_id_order_product BIGINT(20)
ppn DECIMAL(12,0)
id_product BIGINT(20) id_company BIGINT(20) product_sidedish_id_product_sidedish BIGINT(20)
service DECIMAL(12,0)
cart_sidedish quantity INT(11) name VARCHAR(255)
promo_name VARCHAR(255)
id_cart_sidedish BIGINT(20) product_name VARCHAR(255) address VARCHAR(255)
code VARCHAR(255)
quantity INT(11) product_price DECIMAL(12,0) telephone VARCHAR(20)
order_payment note TEXT
sidedish_name VARCHAR(255) created_at TIMESTAMP created_at TIMESTAMP
id_order_payment BIGINT(20) created_at TIMESTAMP
sidedish_price DECIMAL(12,2) updated_at TIMESTAMP updated_at TIMESTAMP
amount DECIMAL(12,2) updated_at TIMESTAMP
created_at TIMESTAMP deleted_at TIMESTAMP deleted_at TIMESTAMP
method_name VARCHAR(255) deleted_at TIMESTAMP
updated_at TIMESTAMP note TEXT department
note VARCHAR(255) promo_price DECIMAL(12,0)
deleted_at TIMESTAMP id_outlet BIGINT(20) id_department BIGINT(20)
is_credit TINYINT(1) total_price DECIMAL(12,2)
cart_id_cart BIGINT(20) ppn DECIMAL(12,0) department_name VARCHAR(200)
created_at TIMESTAMP order_id_order BIGINT(20)
side_dish_id_sidedish BIGINT(20) product_cogs DECIMAL(12,0) created_at TIMESTAMP
updated_at TIMESTAMP outlets_id_outlet BIGINT(20)
service DECIMAL(12,0) updated_at TIMESTAMP
deleted_at TIMESTAMP customer_id_customer BIGINT(20)
total_price DECIMAL(12,2) deleted_at TIMESTAMP
order_id_order BIGINT(20) product_id_product BIGINT(20)
customer_id_customer BIGINT(20) outlets_id_outlet BIGINT(20)
payment_method_id_payment_method BIGINT(20) promo_id_promo BIGINT(20)

customer_address
id_customer_address BIGINT(20)
address_name VARCHAR(255) customer
address_detail TEXT id_customer BIGINT(20) payment_method
is_main_address TINYINT(1) name VARCHAR(255) id_payment_method BIGINT(20)
side_dish
created_at TIMESTAMP email VARCHAR(255) name VARCHAR(255) transaction_status
id_sidedish BIGINT(20)
updated_at TIMESTAMP email_verified_at TIMESTAMP created_at TIMESTAMP id_transaction_status BIGINT(20)
sidedish_name VARCHAR(255)
deleted_at TIMESTAMP password VARCHAR(255) updated_at TIMESTAMP name VARCHAR(255)
sidedish_price DECIMAL(8,2)
customer_id_customer BIGINT(20) phone VARCHAR(255) deleted_at TIMESTAMP created_at TIMESTAMP
sidedish_cogs DECIMAL(8,2)
remember_token VARCHAR(100) updated_at TIMESTAMP
is_active TINYINT(1)
created_at TIMESTAMP deleted_at TIMESTAMP
created_at TIMESTAMP
updated_at TIMESTAMP
updated_at TIMESTAMP
deleted_at TIMESTAMP
deleted_at TIMESTAMP
outlets_id_outlet BIGINT(20)
order_type
department_id_department BIGINT(20)
id_order_type BIGINT(20)
outlets
users name VARCHAR(255)
id_outlet BIGINT(20)
staff id BIGINT(20)
private_key VARCHAR(255)
id_staff BIGINT(20) name VARCHAR(255)
outlet_name VARCHAR(255) order
staff_pin VARCHAR(255) email VARCHAR(255)
id_outlet_type TINYINT(4) id_order BIGINT(20)
staff_nip VARCHAR(255) email_verified_at TIMESTAMP
address VARCHAR(255) no_transaction VARCHAR(255)
staff_name VARCHAR(255) password VARCHAR(255)
telephone VARCHAR(20) transaction_date DATETIME
staff_username VARCHAR(255) remember_token VARCHAR(100)
logo TEXT subtotal DECIMAL(16,2)
staff_password VARCHAR(255) created_at TIMESTAMP
id_currency_type BIGINT(20) tax DECIMAL(16,2)
staff_email VARCHAR(255) updated_at TIMESTAMP
is_show_decimal_precision TINYINT(1) service DECIMAL(16,2)
created_at TIMESTAMP outlets_id_outlet BIGINT(20)
product_cogs_inv TINYINT(1) total DECIMAL(16,2)
updated_at TIMESTAMP staff_id_staff BIGINT(20)
created_at TIMESTAMP created_at TIMESTAMP
deleted_at TIMESTAMP
updated_at TIMESTAMP updated_at TIMESTAMP
staff_role_id_staff_role BIGINT(20)
deleted_at TIMESTAMP deleted_at TIMESTAMP
company_id_company BIGINT(20)
slug VARCHAR(255) note TEXT
outlets_id_outlet BIGINT(20)
model_has_permissions company_id_company BIGINT(20) delivery_fee DECIMAL(12,0)
permission_id BIGINT(20) status TINYINT(1)
model_type VARCHAR(255) snap_token VARCHAR(255)
model_id BIGINT(20) promo_price DECIMAL(16,2)
count INT(11)
reservation_dp DECIMAL(12,2)
reservation_date DATE
promo reservation_time TIME
id_promo BIGINT(20) outlets_id_outlet BIGINT(20)
staff_role
staff_role_feature promo_name VARCHAR(255) customer_id_customer BIGINT(20)
id_staff_role BIGINT(20)
id_staff_role_feature BIGINT(20) promo_price DECIMAL(15,2) promo_id_promo BIGINT(20)
role_name VARCHAR(255)
permissions created_at TIMESTAMP id_promo_type TINYINT(4) customer_address_id_customer_address BIGINT(20)
created_at TIMESTAMP
id BIGINT(20) updated_at TIMESTAMP start_date DATE order_type_id_order_type BIGINT(20)
updated_at TIMESTAMP
name VARCHAR(255) deleted_at TIMESTAMP end_date DATE transaction_status_id_transaction_status BIGINT(20)
deleted_at TIMESTAMP
guard_name VARCHAR(255) feature_id_feature BIGINT(20) promo_min_trans DECIMAL(15,2) payment_method_id_payment_method BIGINT(20)
company_id_company BIGINT(20)
created_at TIMESTAMP staff_role_id_staff_role BIGINT(20) code VARCHAR(255)
outlets_id_outlet BIGINT(20)
updated_at TIMESTAMP is_active TINYINT(1)
roles_id BIGINT(20)
display_name VARCHAR(255) created_at TIMESTAMP
updated_at TIMESTAMP
promo_product
deleted_at TIMESTAMP
role_has_permissions id_promo_product BIGINT(20)
company_id_company BIGINT(20)
feature permission_id BIGINT(20) created_at TIMESTAMP
outlets_id_outlet BIGINT(20)
id_feature BIGINT(20) role_id BIGINT(20) updated_at TIMESTAMP
id_module BIGINT(20) deleted_at TIMESTAMP
feature_name VARCHAR(255) promo_id_promo BIGINT(20)
feature_link VARCHAR(255) product_category_id_product_category BIGINT(20)
model_name VARCHAR(255) roles product_id_product BIGINT(20)
id_outlet_type BIGINT(20) id BIGINT(20)
created_at TIMESTAMP name VARCHAR(255)
product
updated_at TIMESTAMP guard_name VARCHAR(255)
id_product BIGINT(20)
deleted_at TIMESTAMP created_at TIMESTAMP
product_name VARCHAR(255)
permissions_id BIGINT(20) updated_at TIMESTAMP
product_price DECIMAL(8,2)
product_cogs DECIMAL(8,2)
ppn DECIMAL(8,2)
service DECIMAL(8,2)
code VARCHAR(255)
settings model_has_roles status TINYINT(1)
id_setting BIGINT(20) role_id BIGINT(20) is_active TINYINT(1)
delivery_fee DECIMAL(12,2) model_type VARCHAR(255) created_at TIMESTAMP
opening_hours VARCHAR(255) model_id BIGINT(20) updated_at TIMESTAMP
image VARCHAR(255) deleted_at TIMESTAMP
created_at TIMESTAMP image TEXT
updated_at TIMESTAMP outlets_id_outlet BIGINT(20)
no_customer_service VARCHAR(255) department_id_department BIGINT(20)
product_sidedish failed_jobs jobs
reservation_dp DECIMAL(12,2)
id_product_sidedish BIGINT(20) id BIGINT(20) id BIGINT(20)
outlets_id_outlet BIGINT(20)
created_at TIMESTAMP uuid VARCHAR(255) queue VARCHAR(255)
updated_at TIMESTAMP connection TEXT payload LONGTEXT
deleted_at TIMESTAMP queue TEXT attempts TINYINT(3)
product_id_product BIGINT(20) payload LONGTEXT reserved_at INT(10)
side_dish_id_sidedish BIGINT(20) product_category exception LONGTEXT available_at INT(10)
id_product_category BIGINT(20) failed_at TIMESTAMP created_at INT(10)
category_name VARCHAR(255)
created_at TIMESTAMP
updated_at TIMESTAMP
password_resets
deleted_at TIMESTAMP
email VARCHAR(255)
department_id_department BIGINT(20)
token VARCHAR(255)
outlets_id_outlet BIGINT(20)
created_at TIMESTAMP

You might also like