menu, table,rooms, orders structure
This commit is contained in:
@@ -1,14 +1,53 @@
|
||||
zone {name}
|
||||
seat_tables {table_name, seater, table_type:[square, round, ], position-x, position-y}
|
||||
room {Name, seater, created_by, is_active, order_by}
|
||||
room {name, seater, created_by, is_active, order_by}
|
||||
|
||||
menu {name, is_active, valid_days, valid_time_from, valid_time_to}
|
||||
menu_category {menu, name, alt_name, order_no, parent_category_id}
|
||||
menu_items { menu_category, order_no, product_code, picture, menu_name, alt_menu_name, price, menu_item_type:[simple| set| DIY], available_size:[],
|
||||
variants:[{product_code, name, picture, add_on_price}], allow_multiple_variants_selection: boolean, set_menu_items:[menu_items], is_sold_out, is_on_promotion
|
||||
promotion_price, promotion_qty}
|
||||
menu_category {menu, name, alt_name, order_by, parent_category_id}
|
||||
|
||||
order { id, date, order_source [tablet, order_station, emenu, api], order_type [dine-in, takeaway, delivery], item_count, quantity_count, status [new, processing, fulfilled], waiters[], guest_info: {customer_id, membership_id, }}
|
||||
menu_item_attributes: {attribute_type, name, value}
|
||||
menu_item_options: {option_type, name, value}
|
||||
|
||||
menu_item : {
|
||||
category_code : "",
|
||||
item_code : "",
|
||||
name : "",
|
||||
alt_name : "",
|
||||
type : "[SIMPLE | SET | DIY]",
|
||||
attributes : [],
|
||||
parent_items : [],
|
||||
child_items : [],
|
||||
min_selectable_item : 0,
|
||||
max_selectable_item : 0,
|
||||
menu_item_instances : [],
|
||||
options : [],
|
||||
}
|
||||
|
||||
menu_item_instance : {
|
||||
item_instance_code : "",
|
||||
menu_item_attribute_values : [],
|
||||
item_code : "",
|
||||
parent_item_code : "",
|
||||
price : 0.00,
|
||||
is_available : t/f,
|
||||
is_on_promotion : t/f,
|
||||
promotion_price : 0.00,
|
||||
}
|
||||
|
||||
order_item : {
|
||||
order_item_code : "",
|
||||
item_instance_code : "",
|
||||
quantity : 0,
|
||||
option_values : [],
|
||||
sub_order_items : [],
|
||||
}
|
||||
|
||||
menu_items { menu_category, order_by, product_code, picture, menu_name, alt_menu_name, price, menu_item_type:[simple| set| DIY], available_size:[small: {product_code, price}, medium: {product_code, price}, large: {product_code, price}],
|
||||
variants:[{product_code, name, picture, add_on_price, options {option_name, option_value} }], max_variants_selection: integer, set_menu_items:[menu_items], is_sold_out, is_on_promotion
|
||||
promotion_price, options {option_name, option_value}}
|
||||
|
||||
|
||||
order { id, date, order_ref, order_source [tablet, order_station, emenu, api], order_type [dine-in, takeaway, delivery],customer_id, item_count, quantity_count, status [new, processing, fulfilled], waiters[], guest_info: {adult_count, child_count, woman_count, man_count}}
|
||||
order_items { order_item_status, product_code, name, qty, price, remark, options , variants: [], set_menu_items :[]}
|
||||
order_delivery_info {name, address, contact_no, delivery-by [InHouse | YDoor2Door | Food2U], tracker-id, sale}
|
||||
dine-in-table {table, order, status}
|
||||
|
||||
Reference in New Issue
Block a user