"""岗位表(bg_job,只读) Python 端仅读取岗位信息用于技能差距分析,表结构由 Java 端管理。 """ from typing import Optional from sqlalchemy import BigInteger, String, Text, JSON from sqlalchemy.orm import Mapped, mapped_column from app.core.database import Base class Job(Base): """岗位表 bg_job(只读)""" __tablename__ = "bg_job" id: Mapped[int] = mapped_column(BigInteger, primary_key=True) title: Mapped[Optional[str]] = mapped_column(String(128), nullable=True, comment="岗位名称") skill_tags: Mapped[Optional[list]] = mapped_column(JSON, nullable=True, comment="技能标签列表") description: Mapped[Optional[str]] = mapped_column(Text, nullable=True, comment="岗位描述") requirement: Mapped[Optional[str]] = mapped_column(Text, nullable=True, comment="岗位要求")