|
id
|
int(10) unsigned
|
|
|
|
|
rule_name
|
varchar(100)
|
|
|
|
|
rule_type
|
enum
|
-- |
|
|
|
reference_id
|
int(10) unsigned
|
|
|
|
|
discount_type
|
enum
|
-- |
|
|
|
discount_value
|
decimal(10,2)
|
|
|
|
|
valid_from
|
date
|
|
|
|
|
valid_to
|
date
|
|
|
|
|
branch_id
|
int(10) unsigned
|
|
|
1
|
|
is_active
|
tinyint(1)
|
|
|
1
|
|
delete_status
|
tinyint(1)
|
|
|
0
|
|
created_by
|
int(10) unsigned
|
|
|
|
|
updated_by
|
int(10) unsigned
|
|
|
|
|
created_at
|
datetime
|
|
|
current_timestamp()
|
|
updated_at
|
datetime
|
|
|
|