Madiwka3 1 anno fa
parent
commit
d291abc762
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      app/schemas/user.py

+ 1
- 1
app/schemas/user.py Vedi File

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


Caricamento…
Annulla
Salva