浏览代码

contraints

main
Madiwka3 1年前
父节点
当前提交
d291abc762
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      app/schemas/user.py

+ 1
- 1
app/schemas/user.py 查看文件

@@ -10,7 +10,7 @@ class UserCreate(BaseModel):
Name: str = Field(..., min_length=3, max_length=50)
MiddleName: str = Field(None)
LastName: str = Field(..., min_length=3, max_length=50)
ContactNumber: str = Field(..., min_length=12, max_length=12)
ContactNumber: str = Field(..., min_length=6, max_length=16)
GovernmentId: str = Field(...)
Address: str = Field(...)
Email: EmailStr = Field(...)


正在加载...
取消
保存