"""MySQL: bg_recruit_announcement_industry 招聘公告-行业关联表模型""" from datetime import datetime from sqlalchemy import BigInteger, DateTime, String from sqlalchemy.orm import Mapped, mapped_column from app.core.database import MysqlBase class RecruitAnnouncementIndustry(MysqlBase): """招聘公告-行业关联表""" __tablename__ = "bg_recruit_announcement_industry" id: Mapped[int] = mapped_column(BigInteger, primary_key=True, comment="主键ID(雪花)") announcement_id: Mapped[int] = mapped_column(BigInteger, nullable=False, comment="公告id") industry_name: Mapped[str] = mapped_column(String(64), nullable=False, comment="行业分类值,取自固定分类表,如互联网/人工智能/半导体/芯片") create_time: Mapped[datetime] = mapped_column(DateTime, nullable=False, comment="创建时间")