Files
TEAM/model/interview_model.py
2026-09-24 14:22:50 +08:00

21 lines
853 B
Python

from sqlalchemy import Integer, Boolean, Column, DateTime, Integer, String
from util.database import Base
class Interview(Base):
"""对应 Excel Sheet:面试信息表。"""
__tablename__ = "wl_interview"
id = Column(Integer, primary_key=True, autoincrement=True, comment="面试id")
interview_at = Column(DateTime, comment="面试时间")
student_id = Column(Integer, comment="学生id")
room = Column(String(100), comment="面试间")
sequence = Column(Integer, comment="面试序次")
company_id = Column(Integer, comment="面试的企业id")
result = Column(Boolean, comment="面试结果")
created_at = Column(DateTime, comment="数据创建时间")
updated_at = Column(DateTime, comment="数据更新时间")
is_deleted = Column(default=False, nullable=False, comment="逻辑删除字段")