|
id
|
int(10) unsigned
|
|
|
|
|
booking_code
|
varchar(30)
|
|
|
|
|
user_id
|
int(10) unsigned
|
|
|
|
|
villa_id
|
int(10) unsigned
|
|
|
|
|
check_in
|
date
|
|
|
|
|
check_out
|
date
|
|
|
|
|
nights
|
tinyint(3) unsigned
|
|
|
|
|
guests
|
tinyint(3) unsigned
|
|
|
1
|
|
total_price
|
decimal(12,2)
|
|
|
|
|
status
|
enum
|
-- |
|
pending
|
|
notes
|
text
|
|
|
|
|
voucher_code
|
varchar(50)
|
|
|
|
|
discount_amount
|
decimal(14,2)
|
|
|
0.00
|
|
created_at
|
datetime
|
|
|
current_timestamp()
|
|
updated_at
|
datetime
|
|
|
current_timestamp()
|