添加岗位简历诊断

This commit is contained in:
zk
2026-04-09 18:22:10 +08:00
parent fd675e05cc
commit c001ba8146
11 changed files with 1487 additions and 10 deletions
+22
View File
@@ -0,0 +1,22 @@
"""岗位表(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="岗位要求")