设置 权限流水
This commit is contained in:
@@ -15,7 +15,7 @@ class UserFuncPermissionStock(Base):
|
||||
|
||||
id: Mapped[int] = mapped_column(BigInteger, primary_key=True)
|
||||
user_id: Mapped[int] = mapped_column(BigInteger, nullable=False, comment="用户ID")
|
||||
func_code: Mapped[str] = mapped_column(String(12), nullable=False, comment="权限编码")
|
||||
func_code: Mapped[str] = mapped_column(String(36), nullable=False, comment="权限编码")
|
||||
time_limit: Mapped[int] = mapped_column(Integer, default=0, comment="0=不限时 1=限时")
|
||||
count_limit: Mapped[int] = mapped_column(Integer, default=0, comment="0=不限次 1=限次")
|
||||
expire_time: Mapped[Optional[datetime]] = mapped_column(DateTime, nullable=True, comment="过期时间")
|
||||
|
||||
Reference in New Issue
Block a user