From 8be0d4349c96da8d0ad20fce852e03bac7fd04d3 Mon Sep 17 00:00:00 2001 From: haotian <2421912570@qq.com> Date: Wed, 6 Aug 2025 17:54:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=96=B0=E7=9A=84=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../module_admin/entity/do/explanation_style_robot_pair_do.py | 1 + .../module_admin/entity/vo/explanation_style_robot_pair_vo.py | 1 + 2 files changed, 2 insertions(+) diff --git a/ruoyi-fastapi-backend/module_admin/entity/do/explanation_style_robot_pair_do.py b/ruoyi-fastapi-backend/module_admin/entity/do/explanation_style_robot_pair_do.py index 7f372b2..3ee4b24 100644 --- a/ruoyi-fastapi-backend/module_admin/entity/do/explanation_style_robot_pair_do.py +++ b/ruoyi-fastapi-backend/module_admin/entity/do/explanation_style_robot_pair_do.py @@ -11,6 +11,7 @@ class ExplanationStyleRobotPairing(Base): pairing_id = Column(BigInteger, primary_key=True, autoincrement=True, nullable=False, comment='主键ID') robot_id = Column(BigInteger, nullable=False, comment='机器人ID(关联robot_info表)') + robot_role_id = Column(BigInteger, nullable=False, comment='机器人角色ID(关联robot_role表)') explanation_style_id = Column(BigInteger, nullable=False, comment='讲解风格ID(关联explanation_style表)') prompt = Column(String(128), nullable=True, comment='提示词') status = Column(String(2), nullable=True, comment='状态(0停用,1使用)') diff --git a/ruoyi-fastapi-backend/module_admin/entity/vo/explanation_style_robot_pair_vo.py b/ruoyi-fastapi-backend/module_admin/entity/vo/explanation_style_robot_pair_vo.py index fd7ce84..5e3062e 100644 --- a/ruoyi-fastapi-backend/module_admin/entity/vo/explanation_style_robot_pair_vo.py +++ b/ruoyi-fastapi-backend/module_admin/entity/vo/explanation_style_robot_pair_vo.py @@ -27,6 +27,7 @@ class Explanation_style_robot_pairModel(BaseModel): pairing_id: Optional[int] = Field(default=None, description='主键ID') robot_id: Optional[int] = Field(default=None, description='机器人ID(关联robot_info表)') + robot_role_id : Optional[int] = Field(default=None, description='机器人角色ID(关联robot_role表)') explanation_style_id: Optional[int] = Field(default=None, description='讲解风格ID(关联explanation_style表)') prompt: Optional[str] = Field(default=None, description='提示词') status: Optional[str] = Field(default=None, description='状态(0停用,1使用)')