|
id
|
bigint(20) unsigned
|
|
|
|
|
policy_uuid
|
char(36)
|
|
|
|
|
branch_id
|
int(10) unsigned
|
|
|
|
|
policy_version
|
int(10) unsigned
|
|
|
|
|
policy_status
|
enum
|
-- |
|
DRAFT
|
|
effective_from
|
date
|
|
|
|
|
effective_to
|
date
|
|
|
|
|
proration_method
|
enum
|
-- |
|
|
|
fixed_days_divisor
|
decimal(8,2)
|
|
|
|
|
rounding_mode
|
enum
|
-- |
|
HALF_UP
|
|
rounding_scale
|
tinyint(3) unsigned
|
|
|
2
|
|
policy_hash
|
char(64)
|
|
|
|
|
lock_version
|
int(10) unsigned
|
|
|
1
|
|
notes
|
varchar(500)
|
|
|
|
|
created_by
|
bigint(20) unsigned
|
|
|
|
|
updated_by
|
bigint(20) unsigned
|
|
|
|
|
approved_by
|
bigint(20) unsigned
|
|
|
|
|
approved_at_utc
|
datetime
|
|
|
|
|
created_at
|
datetime
|
|
|
current_timestamp()
|
|
updated_at
|
datetime
|
|
|
current_timestamp()
|