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

POS Local

The document describes database tables and fields for an application. It includes tables like users, orders, products, outlets and others related to an ecommerce or point of sale system. Primary keys and field types are specified for each table.

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)
14 views1 page

POS Local

The document describes database tables and fields for an application. It includes tables like users, orders, products, outlets and others related to an ecommerce or point of sale system. Primary keys and field types are specified for each table.

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

promo pos_setting printer_table

void
id_promo BIGINT(20) id_pos_setting BIGINT(20) order_refund id_printer_table BIGINT(20)
id_void BIGINT(20)
promo_name VARCHAR(191) users outlet_name VARCHAR(191) id_order_refund BIGINT(20) id_table_management BIGINT(20)
void_date DATE
promo_price DECIMAL(16,2) id BIGINT(20) cloud_address VARCHAR(191) refund_order_id BIGINT(20) created_at TIMESTAMP
quantity INT(11)
id_promo_type TINYINT(4) name VARCHAR(191) private_key VARCHAR(191) substitute_order_id BIGINT(20) updated_at TIMESTAMP
note VARCHAR(191) staff_role_feature
start_date DATE email VARCHAR(191) tax_setting TINYINT(1) refund_date DATE deleted_at TIMESTAMP
is_stock_decreased TINYINT(1) id_staff_role_feature BIGINT(20) roles
end_date DATE email_verified_at TIMESTAMP takeaway_tax TINYINT(1) created_at TIMESTAMP printer_id_printer BIGINT(20)
created_at TIMESTAMP created_at TIMESTAMP id BIGINT(20)
promo_min_trans DECIMAL(16,2) password VARCHAR(191) created_at TIMESTAMP updated_at TIMESTAMP table_management_id_table_management BIGINT(20)
updated_at TIMESTAMP updated_at TIMESTAMP name VARCHAR(191)
created_at TIMESTAMP remember_token VARCHAR(100) updated_at TIMESTAMP deleted_at TIMESTAMP
deleted_at TIMESTAMP deleted_at TIMESTAMP guard_name VARCHAR(191)
updated_at TIMESTAMP created_at TIMESTAMP deleted_at TIMESTAMP note TEXT
staff_id_staff BIGINT(20) staff_role_id_staff_role BIGINT(20) created_at TIMESTAMP
deleted_at TIMESTAMP updated_at TIMESTAMP delivery_using_service TINYINT(1) staff_id_staff BIGINT(20)
order_product_id_order_product BIGINT(20) feature_id_feature BIGINT(20) updated_at TIMESTAMP printer_font_size
outlets_id_outlet BIGINT(20) staff_id_staff BIGINT(20) rounding_setting TINYINT(1)
order_product_package_id_order_product_package BIGINT(20) id_printer_font_size TINYINT(3)
company_id_company BIGINT(20) outlets_id_outlet BIGINT(20) product_searchbyname TINYINT(1)
name VARCHAR(191)
company_id_company BIGINT(20)
created_at TIMESTAMP
outlets_id_outlet BIGINT(20)
updated_at TIMESTAMP
dynamic_promo staff
staff_role
id_dynamic_promo BIGINT(20) dynamic_promo_product id_staff BIGINT(20)
compliment id_staff_role BIGINT(20)
promo_name VARCHAR(191) id_dynamic_promo_product BIGINT(20) compliment_outlet id_staff_role BIGINT(20) printer_type
id_compliment BIGINT(20) role_name VARCHAR(191)
start_date DATE promo_price DECIMAL(16,2) id_compliment_outlet BIGINT(20) id_company BIGINT(20) id_printer_type TINYINT(3)
compliment_limit DECIMAL(16,2) created_at TIMESTAMP
end_date DATE id_promo_type TINYINT(4) created_at TIMESTAMP staff_pin VARCHAR(191) name VARCHAR(191)
compliment_limit_periode TINYINT(4) updated_at TIMESTAMP
created_at TIMESTAMP created_at TIMESTAMP updated_at TIMESTAMP staff_nip INT(11) created_at TIMESTAMP
order_product created_at TIMESTAMP deleted_at TIMESTAMP
updated_at TIMESTAMP updated_at TIMESTAMP deleted_at TIMESTAMP staff_name VARCHAR(191) updated_at TIMESTAMP
id_order_product BIGINT(20) updated_at TIMESTAMP outlets_id_outlet BIGINT(20)
deleted_at TIMESTAMP deleted_at TIMESTAMP compliment_id_compliment BIGINT(20) staff_username VARCHAR(191)
quantity INT(11) deleted_at TIMESTAMP roles_id BIGINT(20)
outlets_id_outlet BIGINT(20) dynamic_promo_id_dynamic_promo BIGINT(20) outlets_id_outlet BIGINT(20) staff_password VARCHAR(191)
created_at TIMESTAMP staff_id_staff BIGINT(20) company_id_company BIGINT(20) printer_width
company_id_company BIGINT(20) product_id_product BIGINT(20) created_at TIMESTAMP
updated_at TIMESTAMP company_id_company BIGINT(20) id_printer_width TINYINT(3)
updated_at TIMESTAMP
deleted_at TIMESTAMP staff_role_id_staff_role BIGINT(20) name TEXT
deleted_at TIMESTAMP
note VARCHAR(191) printer created_at TIMESTAMP
staff_email VARCHAR(191)
product_sidedish product_price DECIMAL(16,2) company id_printer BIGINT(20) updated_at TIMESTAMP
outlets_id_outlet BIGINT(20)
id_product_sidedish BIGINT(20) discount_amount DECIMAL(16,2) driveronline id_company BIGINT(20) printer_name VARCHAR(191) system_width INT(11)
created_at TIMESTAMP product_name VARCHAR(191) driveronline_product id_driveronline BIGINT(20) name VARCHAR(191) printer_alias VARCHAR(191)
updated_at TIMESTAMP product_cogs DECIMAL(16,2) id_driveronline_product BIGINT(20) driveronline_name VARCHAR(191) address VARCHAR(191) logo TINYINT(1)
department
deleted_at TIMESTAMP ppn DECIMAL(16,2) price DECIMAL(16,2) driveronline_benefit DECIMAL(16,2) telephone VARCHAR(20) created_at TIMESTAMP
id_department BIGINT(20) section
product_status product_id_product BIGINT(20) service DECIMAL(16,2) created_at TIMESTAMP created_at TIMESTAMP created_at TIMESTAMP updated_at TIMESTAMP
department_name VARCHAR(200) id_section BIGINT(20)
id_product_status BIGINT(20) side_dish_id_sidedish BIGINT(20) code VARCHAR(191) updated_at TIMESTAMP updated_at TIMESTAMP updated_at TIMESTAMP deleted_at TIMESTAMP
created_at TIMESTAMP section_name VARCHAR(191)
quantity INT(11) promo_name VARCHAR(191) deleted_at TIMESTAMP deleted_at TIMESTAMP deleted_at TIMESTAMP printer_font_size_id_printer_font_size TINYINT(3)
updated_at TIMESTAMP created_at TIMESTAMP
status TINYINT(1) promo_price DECIMAL(16,2) driveronline_id_driveronline BIGINT(20) driveronline_ppn DECIMAL(16,2) printer_type_id_printer_type TINYINT(3)
deleted_at TIMESTAMP updated_at TIMESTAMP
created_at TIMESTAMP id_promo_type TINYINT(4) product_id_product BIGINT(20) status_ppn TINYINT(1) printer_width_id_printer_width TINYINT(3)
outlets_id_outlet BIGINT(20) deleted_at TIMESTAMP
updated_at TIMESTAMP is_takeaway TINYINT(1) company_id_company BIGINT(20) section_id_section BIGINT(20)
outlets outlets_id_outlet BIGINT(20)
product_id_product BIGINT(20) quantity_promo INT(11) outlets_id_outlet BIGINT(20) department_id_department BIGINT(20)
id_outlet BIGINT(20)
product_ppn DECIMAL(16,2)
private_key VARCHAR(191)
product_service DECIMAL(16,2)
order_product_package_sidedish outlet_name VARCHAR(191)
voucher_amount DECIMAL(16,2)
id_order_product_package_sidedish BIGINT(20) id_outlet_type TINYINT(4)
order_id_order BIGINT(20)
created_at TIMESTAMP address VARCHAR(191) feature
product_id_product BIGINT(20)
updated_at TIMESTAMP product cityledger telephone VARCHAR(20) id_feature BIGINT(20) module
promo_id_promo BIGINT(20)
deleted_at TIMESTAMP id_product BIGINT(20) id_cityledger BIGINT(20) logo TEXT feature_name VARCHAR(191) id_module BIGINT(20)
dynamic_promo_product_id_dynamic_promo_product BIGINT(20)
quantity INT(11) product_name VARCHAR(191) name VARCHAR(191) created_at TIMESTAMP feature_link VARCHAR(191) module_name VARCHAR(191)
staff_id_staff BIGINT(20)
sidedish_name VARCHAR(191) product_price DECIMAL(16,2) address VARCHAR(191) updated_at TIMESTAMP created_at TIMESTAMP created_at TIMESTAMP
sidedish_price DECIMAL(16,2) product_cogs DECIMAL(16,2) email VARCHAR(191) deleted_at TIMESTAMP updated_at TIMESTAMP updated_at TIMESTAMP
product_package_sidedish_id_product_package_sidedish BIGINT(20) ppn DECIMAL(16,2) telp VARCHAR(191) id_currency_type BIGINT(20) deleted_at TIMESTAMP deleted_at TIMESTAMP
order_product_package_id_order_product_package BIGINT(20) service DECIMAL(16,2) pic VARCHAR(191) is_show_decimal_precision TINYINT(1) model_name VARCHAR(191)
created_at TIMESTAMP created_at TIMESTAMP product_cogs_inv TINYINT(1) module_id_module BIGINT(20)
updated_at TIMESTAMP updated_at TIMESTAMP company_id_company BIGINT(20) permissions_id BIGINT(20) session_table_status
deleted_at TIMESTAMP deleted_at TIMESTAMP id_session_table_status BIGINT(20)
order_product_package_reservation
order_product_package_menu code VARCHAR(191) outlets_id_outlet BIGINT(20) name VARCHAR(191)
id_order_product_package_reservation BIGINT(20)
id_order_product_package_menu BIGINT(20) status TINYINT(1) company_id_company BIGINT(20) deleted_at TIMESTAMP
quantity INT(11) customer
created_at TIMESTAMP image TEXT table_management
product_name VARCHAR(191) id_customer BIGINT(20)
updated_at TIMESTAMP outlets_id_outlet BIGINT(20) id_table_management BIGINT(20)
product_price DECIMAL(12,0) name VARCHAR(191) permissions
deleted_at TIMESTAMP department_id_department BIGINT(20) table_name VARCHAR(191)
product_cogs DECIMAL(12,0) phone VARCHAR(191) id BIGINT(20)
quantity INT(11) product_category_id_product_category BIGINT(20) created_at TIMESTAMP
ppn DECIMAL(12,0) count INT(11) name VARCHAR(191)
product_package_menu_id_product_package_menu BIGINT(20) updated_at TIMESTAMP
service DECIMAL(12,0) created_at TIMESTAMP order guard_name VARCHAR(191)
deleted_at TIMESTAMP
promo_name VARCHAR(191) updated_at TIMESTAMP id_order BIGINT(20) created_at TIMESTAMP
outlets_id_outlet BIGINT(20)
code VARCHAR(191) deleted_at TIMESTAMP id_order_type BIGINT(20) updated_at TIMESTAMP
section_id_section BIGINT(20)
note TEXT address MEDIUMTEXT created_at TIMESTAMP
promo_price DECIMAL(12,2) product_package_menu updated_at TIMESTAMP
total_price DECIMAL(12,2) id_product_package_menu BIGINT(20) deleted_at TIMESTAMP
created_at TIMESTAMP product_package_status created_at TIMESTAMP receipt_number TEXT
updated_at TIMESTAMP id_product_package_status BIGINT(20) updated_at TIMESTAMP subtotal DECIMAL(16,2)
session_table
deleted_at TIMESTAMP quantity INT(11) deleted_at TIMESTAMP order_product_package service DECIMAL(16,2)
id_session_table BIGINT(20)
order_reservation_id_order_reservation BIGINT(20) status TINYINT(1) product_package_id_product_package BIGINT(20) id_order_product_package BIGINT(20) tax DECIMAL(16,2)
order_delivery id_order BIGINT(20)
order_product_package_id_order_product_package BIGINT(20) created_at TIMESTAMP product_id_product BIGINT(20) quantity INT(11) total DECIMAL(16,2)
id_order_delivery BIGINT(20) parent_table_id BIGINT(20)
order_id_order BIGINT(20) updated_at TIMESTAMP product_package_group_id_product_package_group BIGINT(20) created_at TIMESTAMP discount DECIMAL(16,2)
delivery_date DATE is_accessed TINYINT(1)
outlets_id_outlet BIGINT(20) product_package_id_product_package BIGINT(20) updated_at TIMESTAMP completion DECIMAL(16,2)
delivery_time TIME created_at TIMESTAMP
customer_id_customer BIGINT(20) deleted_at TIMESTAMP grand_total DECIMAL(16,2)
delivery_fee DECIMAL(16,2) updated_at TIMESTAMP
product_package_id_product_package BIGINT(20) note VARCHAR(191) total_cogs DECIMAL(16,2)
created_at TIMESTAMP deleted_at TIMESTAMP
promo_id_promo BIGINT(20) product_price DECIMAL(16,2) change DECIMAL(16,2)
product_package updated_at TIMESTAMP table_management_id_table_management BIGINT(20)
discount_amount DECIMAL(16,2) charge DECIMAL(16,2)
id_product_package BIGINT(20) deleted_at TIMESTAMP session_table_status_id_session_table_status BIGINT(20)
product_package_group product_name VARCHAR(191) voucher DECIMAL(16,2)
product_package_price DECIMAL(16,2) order_id_order BIGINT(20)
id_product_package_group BIGINT(20) product_cogs DECIMAL(16,2) customer_id_customer BIGINT(20)
product_package_cogs DECIMAL(16,2)
max_qty BIGINT(20) ppn DECIMAL(16,2) driveronline_id_driveronline BIGINT(20)
promo_product ppn DECIMAL(16,2)
order_reservation created_at TIMESTAMP service DECIMAL(16,2) staff_id_staff BIGINT(20)
id_promo_product BIGINT(20) service DECIMAL(16,2) order_payment
id_order_reservation BIGINT(20) updated_at TIMESTAMP code VARCHAR(191)
id_promo BIGINT(20) created_at TIMESTAMP id_order_payment BIGINT(20)
no_transaction VARCHAR(191) deleted_at TIMESTAMP promo_name VARCHAR(191)
deleted_at TIMESTAMP updated_at TIMESTAMP amount DECIMAL(16,2)
transaction_date DATETIME product_package_id_product_package BIGINT(20) promo_price DECIMAL(16,2)
product_id_product BIGINT(20) deleted_at TIMESTAMP created_at TIMESTAMP
id_transaction_status BIGINT(20) department_id_department BIGINT(20) id_promo_type TINYINT(4)
product_category_id_product_category BIGINT(20) product_package_name VARCHAR(191) updated_at TIMESTAMP
subtotal DECIMAL(16,2) is_takeaway TINYINT(1) order_product_voucher_code
promo_id_promo BIGINT(20) status TINYINT(1) deleted_at TIMESTAMP
tax DECIMAL(16,2) id_dynamic_promo_product_package BIGINT(20) id_order_product_voucher_code BIGINT(20)
outlets_id_outlet BIGINT(20) bank method_name VARCHAR(191)
service DECIMAL(16,2) product_ppn DECIMAL(16,2) promo_price DECIMAL(16,2)
department_id_department BIGINT(20) id_bank BIGINT(20) note VARCHAR(191)
total DECIMAL(16,2) product_service DECIMAL(16,2) voucher_code VARCHAR(191)
product_category_id_product_category BIGINT(20) bank_type TINYINT(4) is_credit TINYINT(4)
id_payment_method BIGINT(20) voucher_amount DECIMAL(16,2) created_at TIMESTAMP
bank_name VARCHAR(191) charge DECIMAL(16,2)
note TEXT product_package_sidedish product_package_id_product_package BIGINT(20) updated_at TIMESTAMP
promo_product_package created_at TIMESTAMP order_id_order BIGINT(20)
id_customer_address BIGINT(20) id_product_package_sidedish BIGINT(20) promo_id_promo BIGINT(20) deleted_at TIMESTAMP
id_promo_product_package BIGINT(20) updated_at TIMESTAMP compliment_id_compliment BIGINT(20)
delivery_fee DECIMAL(16,2) created_at TIMESTAMP order_id_order BIGINT(20) order_product_id_order_product BIGINT(20)
id_promo BIGINT(20) deleted_at TIMESTAMP bank_id_bank BIGINT(20)
status TINYINT(1) updated_at TIMESTAMP staff_id_staff BIGINT(20) voucher_promo_id_voucher_promo BIGINT(20)
id_product_package BIGINT(20) id_company BIGINT(20) staff_id_staff BIGINT(20)
snap_token VARCHAR(191) deleted_at TIMESTAMP
deleted_at TIMESTAMP id_outlet BIGINT(20) cityledger_id_cityledger BIGINT(20)
created_at TIMESTAMP product_package_id_product_package BIGINT(20) product_category
updated_at TIMESTAMP side_dish_id_sidedish BIGINT(20) id_product_category BIGINT(20)
deleted_at TIMESTAMP category_name VARCHAR(191)
id_customer_local BIGINT(20) created_at TIMESTAMP order_product_reservation
is_status TINYINT(1) updated_at TIMESTAMP voucher_promo_product id_order_product_reservation BIGINT(20)
id_order_pos BIGINT(20) deleted_at TIMESTAMP id_voucher_promo_product BIGINT(20) id_product BIGINT(20)
order_product_package_sidedish_reservation
reservation_dp DECIMAL(12,2) department_id_department BIGINT(20) created_at TIMESTAMP voucher_promo quantity INT(11)
id_order_product_package_sidedish_reservation BIGINT(20)
reservation_date DATE outlets_id_outlet BIGINT(20) updated_at TIMESTAMP id_voucher_promo BIGINT(20) product_name VARCHAR(191)
quantity INT(11) side_dish
reservation_time TIME deleted_at TIMESTAMP promo_name VARCHAR(191) product_price DECIMAL(12,0)
created_at TIMESTAMP id_sidedish BIGINT(20)
is_order TINYINT(1) order_product_package_menu_reservation voucher_promo_id_voucher_promo BIGINT(20) promo_price VARCHAR(191) product_cogs DECIMAL(12,0)
updated_at TIMESTAMP sidedish_name VARCHAR(191)
customer_id_customer BIGINT(20) id_order_product_package_menu_reservation BIGINT(20) product_id_product BIGINT(20) quantity INT(11) ppn DECIMAL(12,0)
deleted_at TIMESTAMP sidedish_price DECIMAL(16,2)
promo_id_promo BIGINT(20) quantity INT(11) id_promo_type TINYINT(4) service DECIMAL(12,0)
product_package_sidedish_id_product_package_sidedish BIGINT(20) sidedish_cogs DECIMAL(16,2)
order_type_id_order_type BIGINT… created_at TIMESTAMP promo_min_trans DECIMAL(16,2) id_promo BIGINT(20)
order_product_package_reservation_id_order_product_package_reservation BIGINT(20) created_at TIMESTAMP
outlets_id_outlet BIGINT(20) updated_at TIMESTAMP start_date DATE promo_name VARCHAR(191)
updated_at TIMESTAMP
order_id_order BIGINT(20) deleted_at TIMESTAMP end_date DATE code VARCHAR(191)
deleted_at TIMESTAMP voucher_promo_code
staff_id_staff BIGINT(20) order_product_package_reservation_id_order_product_package_reservation BIGINT(20) created_at TIMESTAMP note TEXT
outlets_id_outlet BIGINT(20) id_voucher_promo_code BIGINT(20)
order_product_sidedish product_package_menu_id_product_package_menu BIGINT(20) updated_at TIMESTAMP created_at TIMESTAMP
department_id_department BIGINT(20) voucher_code VARCHAR(191)
id_order_product_sidedish BIGINT(20) deleted_at TIMESTAMP updated_at TIMESTAMP
status TINYINT(1)
created_at TIMESTAMP company_id_company BIGINT(20) deleted_at TIMESTAMP
voucher_promo_used created_at TIMESTAMP
updated_at TIMESTAMP company_id_company1 BIGINT(20) promo_price DECIMAL(12,2)
id_voucher_promo_used BIGINT(20) updated_at TIMESTAMP
deleted_at TIMESTAMP outlets_id_outlet BIGINT(20) total_price DECIMAL(12,2)
order_product_package_voucher_code voucher_code VARCHAR(191) deleted_at TIMESTAMP
quantity INT(11) voucher_promo_product_package order_reservation_id_order_reservation BIGINT(20)
order_type id_order_product_package_voucher_code BIGINT(20) created_at TIMESTAMP voucher_promo_id_voucher_promo BIGINT(20)
sidedish_name VARCHAR(191) id_voucher_promo_product_package BIGINT(20) order_product_id_order_product BIGINT(20)
id_order_type BIGINT(20) promo_price DECIMAL(16,2) updated_at TIMESTAMP
sidedish_price DECIMAL(16,2) created_at TIMESTAMP order_id_order BIGINT(20)
name VARCHAR(191) voucher_code VARCHAR(191) deleted_at TIMESTAMP
order_product_id_order_product BIGINT(20) updated_at TIMESTAMP outlets_id_outlet BIGINT(20)
created_at TIMESTAMP voucher_promo_id_voucher_promo BIGINT(20)
product_sidedish_id_product_sidedish BIGINT(20) deleted_at TIMESTAMP customer_id_customer BIGINT(20)
updated_at TIMESTAMP order_id_order BIGINT(20)
voucher_promo_id_voucher_promo BIGINT(20) product_id_product BIGINT(20)
order_product_package_id_order_product_package BIGINT(20)
product_package_id_product_package BIGINT(20) sync_download_ledger
voucher_promo_id_voucher_promo BIGINT(20) sync_table
id_sync_download_ledger BIGINT(20)
dynamic_promo_product_package sync_upload_ledger id_sync_table BIGINT(20)
table_id BIGINT(20)
id_dynamic_promo_product_package BIGINT(20) id_sync_upload_ledger BIGINT(20) table_name VARCHAR(191)
sync_status created_at TIMESTAMP
promo_price DECIMAL(16,2) driveronline_product_package table_id BIGINT(20) primary_key_name VARCHAR(191)
id_sync_status BIGINT(20) updated_at TIMESTAMP
order_product_sidedish_reservation id_promo_type TINYINT(4) id_driveronline_product_package BIGINT(20) created_at TIMESTAMP created_at TIMESTAMP
name VARCHAR(191) deleted_at TIMESTAMP
id_order_product_sidedish_reservation BIGINT(20) created_at TIMESTAMP price DECIMAL(16,2) updated_at TIMESTAMP updated_at TIMESTAMP
created_at TIMESTAMP sync_table_id_sync_table BIGINT(20)
quantity INT(11) updated_at TIMESTAMP created_at TIMESTAMP deleted_at TIMESTAMP deleted_at TIMESTAMP
updated_at TIMESTAMP sync_status_id_sync_status BIGINT(20)
created_at TIMESTAMP deleted_at TIMESTAMP updated_at TIMESTAMP master_table_id BIGINT(20) parent_table BIGINT(20)
deleted_at TIMESTAMP outlets_id_outlet BIGINT(20)
updated_at TIMESTAMP dynamic_promo_id_dynamic_promo BIGINT(20) deleted_at TIMESTAMP outlets_id_outlet BIGINT(20)
deleted_at TIMESTAMP product_package_id_product_package BIGINT(20) driveronline_id_driveronline BIGINT(20) sync_table_id_sync_table BIGINT(20)
order_product_reservation_id_order_product_reservation BIGINT(20) product_package_id_product_package BIGINT(20) sync_status_id_sync_status BIGINT(20)
product_sidedish_id_product_sidedish BIGINT(20)

You might also like