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

20 lines
851 B
Python

from sqlalchemy import Integer, Column, DateTime, Numeric, String
from util.database import Base
class EmploymentInfo(Base):
"""对应 Excel Sheet:就业信息表。"""
__tablename__ = "wl_employment_info"
id = Column(Integer, primary_key=True, autoincrement=True, comment="id")
student_id = Column(Integer, comment="学生id")
employment_salary = Column(Numeric(12, 2), comment="就业薪资")
company_number = Column(String(50), comment="就业的企业编号")
resume_opened_at = Column(DateTime, comment="简历开放时间")
offer_received_at = Column(DateTime, comment="拿到offer时间")
created_at = Column(DateTime, comment="数据创建时间")
updated_at = Column(DateTime, comment="数据更新时间")
is_deleted = Column(default=False, nullable=False, comment="逻辑删除字段")