|
id
|
bigint(20) unsigned
|
|
|
|
|
branch_id
|
int(10) unsigned
|
|
|
1
|
|
item_id
|
bigint(20) unsigned
|
|
|
|
|
brand_id
|
int(10) unsigned
|
|
|
|
|
category_id
|
int(10) unsigned
|
|
|
|
|
pricing_strategy
|
enum
|
-- |
|
MRP
|
|
costing_method
|
enum
|
-- |
|
FIFO
|
|
min_margin_percent
|
decimal(6,2)
|
|
|
|
|
allow_competitor_price
|
tinyint(1)
|
|
|
0
|
|
competitor_alignment_mode
|
enum
|
-- |
|
IGNORE
|
|
competitor_floor_margin_pct
|
decimal(6,2)
|
|
|
|
|
stock_low_threshold
|
int(11)
|
|
|
|
|
stock_high_threshold
|
int(11)
|
|
|
|
|
stock_low_markup_pct
|
decimal(6,2)
|
|
|
|
|
stock_high_markdown_pct
|
decimal(6,2)
|
|
|
|
|
average_sales_lookback_days
|
int(11)
|
|
|
|
|
rounding_rule
|
enum
|
-- |
|
NONE
|
|
effective_from
|
date
|
|
|
|
|
effective_to
|
date
|
|
|
|
|
delete_status
|
tinyint(1)
|
|
|
0
|
|
created_at
|
datetime
|
|
|
current_timestamp()
|
|
updated_at
|
datetime
|
|
|
|