fix comments

This commit is contained in:
jxxghp
2023-06-26 11:51:54 +08:00
parent 0fd26dc708
commit 178ac334a0
13 changed files with 151 additions and 1 deletions

View File

@ -5,10 +5,15 @@ from pydantic import BaseModel
# Shared properties
class UserBase(BaseModel):
# 用户名
name: str
# 邮箱,未启用
email: Optional[str] = None
# 状态
is_active: Optional[bool] = True
# 超级管理员
is_superuser: bool = False
# 头像
avatar: Optional[str] = None