This commit is contained in:
he
2026-09-24 11:56:05 +08:00
parent fd8147ab8b
commit e7e237487d
+41
View File
@@ -0,0 +1,41 @@
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已删除')