|
id
|
int(10) unsigned
|
|
|
|
|
company_id
|
int(10) unsigned
|
|
|
1
|
|
branch_id
|
int(10) unsigned
|
|
|
1
|
|
academic_year_id
|
int(10) unsigned
|
|
|
0
|
|
class_id
|
int(10) unsigned
|
|
|
0
|
|
section_id
|
int(10) unsigned
|
|
|
0
|
|
subject_id
|
int(10) unsigned
|
|
|
0
|
|
teacher_id
|
int(10) unsigned
|
|
|
0
|
|
source_module
|
enum
|
-- |
|
manual_review
|
|
source_record_id
|
int(10) unsigned
|
|
|
0
|
|
gap_title
|
varchar(220)
|
|
|
|
|
gap_category
|
enum
|
-- |
|
manual_gap
|
|
gap_description
|
text
|
|
|
|
|
detected_date
|
date
|
|
|
|
|
target_completion_date
|
date
|
|
|
|
|
severity_level
|
enum
|
-- |
|
low
|
|
priority_score
|
decimal(6,2)
|
|
|
0.00
|
|
impact_area
|
enum
|
-- |
|
class
|
|
current_value
|
decimal(8,2)
|
|
|
0.00
|
|
expected_value
|
decimal(8,2)
|
|
|
0.00
|
|
gap_value
|
decimal(8,2)
|
|
|
0.00
|
|
suggested_action
|
text
|
|
|
|
|
auto_action_type
|
enum
|
-- |
|
monitor_only
|
|
suggested_owner_role
|
varchar(80)
|
|
|
|
|
suggested_owner_id
|
int(10) unsigned
|
|
|
0
|
|
ai_confidence_score
|
decimal(6,2)
|
|
|
0.00
|
|
ai_reasoning_note
|
text
|
|
|
|
|
ai_recommendation
|
text
|
|
|
|
|
action_status
|
enum
|
-- |
|
open
|
|
action_taken_note
|
text
|
|
|
|
|
action_taken_at
|
datetime
|
|
|
|
|
approval_status
|
enum
|
-- |
|
draft
|
|
status
|
enum
|
-- |
|
active
|
|
delete_status
|
tinyint(1)
|
|
|
0
|
|
created_by
|
int(10) unsigned
|
|
|
0
|
|
updated_by
|
int(10) unsigned
|
|
|
0
|
|
created_at
|
datetime
|
|
|
current_timestamp()
|
|
updated_at
|
datetime
|
|
|
|