|
@@ -6,7 +6,7 @@ from typing import Optional, List |
|
|
|
|
|
|
|
|
class UserCreate(BaseModel): |
|
|
class UserCreate(BaseModel): |
|
|
Email: EmailStr |
|
|
Email: EmailStr |
|
|
Password: str = Field(..., min_length=7, max_length=20) |
|
|
|
|
|
|
|
|
Password: str = Field(...) |
|
|
Name: str = Field(..., min_length=3, max_length=50) |
|
|
Name: str = Field(..., min_length=3, max_length=50) |
|
|
MiddleName: str = Field(None) |
|
|
MiddleName: str = Field(None) |
|
|
LastName: str = Field(..., min_length=3, max_length=50) |
|
|
LastName: str = Field(..., min_length=3, max_length=50) |
|
|