|
@@ -10,7 +10,7 @@ class UserCreate(BaseModel): |
|
|
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) |
|
|
ContactNumber: str = Field(..., min_length=12, max_length=12) |
|
|
|
|
|
|
|
|
ContactNumber: str = Field(..., min_length=6, max_length=16) |
|
|
GovernmentId: str = Field(...) |
|
|
GovernmentId: str = Field(...) |
|
|
Address: str = Field(...) |
|
|
Address: str = Field(...) |
|
|
Email: EmailStr = Field(...) |
|
|
Email: EmailStr = Field(...) |
|
|