|
id
|
int(10) unsigned
|
|
|
|
|
owner_id
|
int(11) unsigned
|
|
|
|
|
code
|
varchar(50)
|
|
|
|
|
name
|
varchar(100)
|
|
|
|
|
type
|
enum
|
-- |
|
flat
|
|
discount_value
|
decimal(14,2)
|
|
|
0.00
|
|
max_discount
|
decimal(14,2)
|
|
|
|
|
min_booking
|
decimal(14,2)
|
|
|
0.00
|
|
usage_limit
|
int(10) unsigned
|
|
|
|
|
used_count
|
int(10) unsigned
|
|
|
0
|
|
is_active
|
tinyint(1)
|
|
|
1
|
|
expires_at
|
date
|
|
|
|
|
created_at
|
datetime
|
|
|
|
|
updated_at
|
datetime
|
|
|
|