|
id
|
int(10) unsigned
|
|
|
|
|
company_id
|
int(10) unsigned
|
|
|
0
|
|
branch_id
|
int(10) unsigned
|
|
|
0
|
|
insight_date
|
date
|
|
|
|
|
insight_type
|
varchar(80)
|
|
|
General
|
|
insight_title
|
varchar(220)
|
|
|
|
|
insight_description
|
text
|
|
|
|
|
related_module
|
varchar(120)
|
|
|
|
|
related_entity_type
|
varchar(120)
|
|
|
|
|
related_entity_id
|
int(10) unsigned
|
|
|
|
|
severity
|
varchar(60)
|
|
|
Info
|
|
ai_score
|
decimal(8,2)
|
|
|
0.00
|
|
recommended_action
|
text
|
|
|
|
|
action_status
|
varchar(60)
|
|
|
Open
|
|
resolved_by
|
int(10) unsigned
|
|
|
|
|
resolved_at
|
datetime
|
|
|
|
|
resolution_notes
|
text
|
|
|
|
|
is_active
|
tinyint(1)
|
|
|
1
|
|
delete_status
|
tinyint(1)
|
|
|
0
|
|
created_by
|
int(10) unsigned
|
|
|
|
|
updated_by
|
int(10) unsigned
|
|
|
|
|
deleted_by
|
int(10) unsigned
|
|
|
|
|
created_at
|
datetime
|
|
|
current_timestamp()
|
|
updated_at
|
datetime
|
|
|
|
|
deleted_at
|
datetime
|
|
|
|