Ver código fonte

contraints

main
Madiwka3 1 ano atrás
pai
commit
d291abc762
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      app/schemas/user.py

+ 1
- 1
app/schemas/user.py Ver arquivo

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


Carregando…
Cancelar
Salvar