|
id
|
int(10) unsigned
|
|
|
|
|
company_id
|
int(10) unsigned
|
|
|
0
|
|
branch_id
|
int(10) unsigned
|
|
|
0
|
|
academic_year_id
|
int(10) unsigned
|
|
|
0
|
|
run_type
|
enum
|
-- |
|
|
|
reference_table
|
varchar(120)
|
|
|
|
|
reference_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
|
|
input_payload
|
longtext
|
|
|
|
|
ai_prompt
|
longtext
|
|
|
|
|
ai_response
|
longtext
|
|
|
|
|
ai_score
|
decimal(6,2)
|
|
|
|
|
ai_confidence
|
decimal(5,2)
|
|
|
|
|
result_status
|
enum
|
-- |
|
generated
|
|
error_message
|
text
|
|
|
|
|
generated_by
|
int(10) unsigned
|
|
|
0
|
|
generated_at
|
datetime
|
|
|
current_timestamp()
|
|
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
|
|
|
|