20 lines
611 B
Python
20 lines
611 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)
|
|
student_id = Column(Integer)
|
|
employment_salary = Column(Numeric(12, 2))
|
|
company_number = Column(String(50))
|
|
resume_opened_at = Column(DateTime)
|
|
offer_received_at = Column(DateTime)
|
|
created_at = Column(DateTime)
|
|
updated_at = Column(DateTime)
|
|
is_deleted = Column(default=False, nullable=False)
|