设置 权限流水

This commit is contained in:
zk
2026-05-20 18:00:12 +08:00
parent 51b5dbb345
commit 6e4bd4712b
5 changed files with 6 additions and 21 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ class FuncPermission(Base):
__tablename__ = "bg_func_permission"
id: Mapped[int] = mapped_column(BigInteger, primary_key=True)
func_code: Mapped[str] = mapped_column(String(12), nullable=False, comment="权限编码")
func_code: Mapped[str] = mapped_column(String(36), nullable=False, comment="权限编码")
func_name: Mapped[str] = mapped_column(String(64), nullable=False, comment="功能名称")
daily_free_count: Mapped[int] = mapped_column(Integer, default=0, comment="每日免费次数,0表示无免费额度")
status: Mapped[int] = mapped_column(Integer, default=1, comment="状态 1=启用 0=禁用")