|
id
|
int(11)
|
|
|
|
|
ticket_name
|
varchar(100)
|
|
|
|
|
branch_id
|
int(11)
|
|
|
|
|
cashier_id
|
int(11)
|
|
|
|
|
items_json
|
text
|
|
|
|
|
discount_json
|
text
|
|
|
|
|
subtotal
|
decimal(10,2)
|
|
|
0.00
|
|
table_id
|
int(11)
|
|
|
|
|
kitchen_status
|
varchar(50)
|
|
|
pending
|
|
prepared_at
|
timestamp
|
|
|
|
|
created_at
|
timestamp
|
|
|
current_timestamp()
|
|
updated_at
|
timestamp
|
|
|
current_timestamp()
|
|
is_guest
|
tinyint(1)
|
|
|
0
|