This commit is contained in:
qiangyanwen 2022-12-06 11:22:42 +08:00
parent c9b00a4f2e
commit 0b51a76089
1 changed files with 3 additions and 2 deletions

View File

@ -20,6 +20,7 @@ class User(DatabaseModel):
created_time = Column(DATETIME, comment='创建时间')
deleted_time = Column(DATETIME, comment="更新时间")
__table_args__ = ({'comment': '用户表'})
def __init__(self, username, password, email):
self.username = username
self.password = password