瀏覽代碼

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(...)


Loading…
取消
儲存