|
id
|
int(11)
|
|
|
|
|
company_id
|
int(11)
|
|
|
0
|
|
branch_id
|
int(11)
|
|
|
0
|
|
academic_year_id
|
int(11)
|
|
|
0
|
|
leave_id
|
int(11)
|
|
|
0
|
|
original_timetable_entry_id
|
int(11)
|
|
|
0
|
|
substitution_date
|
date
|
|
|
|
|
day_name
|
varchar(20)
|
|
|
|
|
period_id
|
int(11)
|
|
|
0
|
|
class_id
|
int(11)
|
|
|
0
|
|
section_id
|
int(11)
|
|
|
0
|
|
subject_id
|
int(11)
|
|
|
0
|
|
room_id
|
int(11)
|
|
|
0
|
|
absent_teacher_id
|
int(11)
|
|
|
0
|
|
substitute_teacher_id
|
int(11)
|
|
|
0
|
|
suggestion_type
|
enum
|
-- |
|
MANUAL
|
|
status
|
enum
|
-- |
|
SUGGESTED
|
|
ai_score
|
decimal(5,2)
|
|
|
0.00
|
|
ai_reason
|
text
|
|
|
|
|
remarks
|
text
|
|
|
|
|
approved_by
|
int(11)
|
|
|
0
|
|
approved_at
|
datetime
|
|
|
|
|
published_by
|
int(11)
|
|
|
0
|
|
published_at
|
datetime
|
|
|
|
|
delete_status
|
tinyint(1)
|
|
|
0
|
|
created_by
|
int(11)
|
|
|
0
|
|
updated_by
|
int(11)
|
|
|
0
|
|
created_at
|
datetime
|
|
|
current_timestamp()
|
|
updated_at
|
datetime
|
|
|
current_timestamp()
|