引导实体类添加trigger_type属性

This commit is contained in:
haotian 2025-07-31 17:06:00 +08:00
parent 7de6857627
commit 6eef93f8c7
2 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,7 @@ class GuideWords(Base):
update_by = Column(String(64), nullable=True, comment='修改者')
title = Column(String(64), nullable=True, comment='引导词名称')
label = Column(String(2), nullable=True, comment='引导词标签')
trigger_type = Column(String(2), nullable=True, comment='触发方式')

View File

@ -25,6 +25,7 @@ class WordsModel(BaseModel):
update_by : Optional[str] = Field(default=None, description='修改者')
title: Optional[str] = Field(default=None, description='引导词名称')
label: Optional[str] = Field(default=None, description='引导词标签')
trigger_type: Optional[str] = Field(default=None, description='触发方式')