更改新增dao bug

This commit is contained in:
2026-09-22 23:01:59 +08:00
committed by geyuan
parent f2e525b5a5
commit 6e189d0c65
2 changed files with 10 additions and 3 deletions
@@ -22,16 +22,16 @@ class ClassInfo(Base_all):
,comment='班级名称'
)
head_teacher_id = Column(Integer
,ForeignKey('teacher.id')
,ForeignKey('teachers.id')
,comment='班主任编号'
)
coach_teacher_id = Column(Integer
,ForeignKey('teacher.id')
,ForeignKey('teachers.id')
,comment='授课老师编号'
)
tutor_teacher_id = Column(Integer
,ForeignKey('teacher.id')
,ForeignKey('teachers.id')
,comment='助教老师编号'
)
class_start_time = Column(Date