蒋立建
This commit is contained in:
@@ -54,7 +54,7 @@ class ClassManagement(Base):
|
||||
|
||||
class_id= Column(Integer, primary_key=True, autoincrement=True,comment='班级编号')
|
||||
|
||||
class_name = Column(String(100), comment='班级姓名')
|
||||
class_name = Column(String(100), comment='班级名字')
|
||||
|
||||
start_class_date = Column(DATE,comment='开课时间')
|
||||
|
||||
@@ -68,7 +68,7 @@ class ClassManagement(Base):
|
||||
|
||||
delete_status = Column(Integer,default=0,comment='删除状态:0未删除,1已删除')
|
||||
|
||||
delete_time = Column(DATETIME,comment='删除时间')
|
||||
delete_time = Column(DATETIME,default=datetime.now,onupdate=datetime.now,comment='删除时间')
|
||||
|
||||
class Teacher_Model(Base):
|
||||
__tablename__ = 'wl_teacher'
|
||||
|
||||
Reference in New Issue
Block a user