设置 权限流水
This commit is contained in:
@@ -12,7 +12,7 @@ class UserFuncUsageLog(Base):
|
||||
"""用户功能使用记录表 bg_user_func_usage_log"""
|
||||
__tablename__ = "bg_user_func_usage_log"
|
||||
|
||||
id: Mapped[int] = mapped_column(BigInteger, primary_key=True, autoincrement=True)
|
||||
id: Mapped[int] = mapped_column(BigInteger, primary_key=True, autoincrement=False)
|
||||
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="功能编码")
|
||||
create_time: Mapped[datetime] = mapped_column(DateTime, default=datetime.now, comment="使用时间")
|
||||
|
||||
Reference in New Issue
Block a user