增加 postfix 字段

This commit is contained in:
2025-12-27 18:11:25 +08:00
parent fdb3c2a259
commit e09ebb52e6
2 changed files with 5 additions and 1 deletions

View File

@@ -10,6 +10,7 @@ class FunctionList(Base):
function_name = Column(String(255), nullable=False, comment="功能名称")
description = Column(String(1000), nullable=True, comment="描述")
path = Column(String(500), nullable=True, comment="路径")
postfix = Column(String(255), nullable=False, comment="后缀")
def to_dict(self):
"""将模型实例转换为字典"""