from ast import Str class Interview(Base): __tablename__ = 'wl_Interview' interview_id = Column(Integer ,primary_key=True ,autoincrement=True ,comment='序号' ) interview_time = Column(DATETIME , nullable=False , comment="面试时间") stu_id = Column( Integer , ForeignKey('wl_student.stu_id') , comment='学生编号') Interview_room = Column(Str , nullable=False , comment="面试间") business_id = Column(Integer , ForeignKey('wl_business.business_id') , comment='企业id') create_time = Column(DATETIME , nullable=False , default=datetime.now , comment="数据创建时间") update_time = Column(DATETIME , nullable=False , default=datetime.now , onupdate=datetime.now , comment="数据更新时间") delete_status = Column( Integer, default=0, comment='删除状态:0未删除,1已删除')