引导实体类添加title和lable属性

This commit is contained in:
haotian 2025-07-31 16:49:28 +08:00
parent 0fae79d3ed
commit 7de6857627
2 changed files with 4 additions and 0 deletions

View File

@ -18,6 +18,8 @@ class GuideWords(Base):
remark = Column(String(500), nullable=True, comment='备注')
del_flag = Column(CHAR(1), nullable=False, comment='删除标志0代表存在 2代表删除')
update_by = Column(String(64), nullable=True, comment='修改者')
title = Column(String(64), nullable=True, comment='引导词名称')
label = Column(String(2), nullable=True, comment='引导词标签')

View File

@ -23,6 +23,8 @@ class WordsModel(BaseModel):
remark: Optional[str] = Field(default=None, description='备注')
del_flag: Optional[str] = Field(default=None, description='删除标志0代表存在 2代表删除')
update_by : Optional[str] = Field(default=None, description='修改者')
title: Optional[str] = Field(default=None, description='引导词名称')
label: Optional[str] = Field(default=None, description='引导词标签')