17 lines
320 B
Python
17 lines
320 B
Python
from pydantic import BaseModel
|
|
|
|
|
|
class UpdateOfficeRequest(BaseModel):
|
|
code: int
|
|
features: str | None
|
|
contact_person_id: int | None
|
|
person_count: int | None
|
|
rating: int | None
|
|
|
|
|
|
class CreateOrUpdateProfileRequest(BaseModel):
|
|
id: int | None = None
|
|
full_name: str
|
|
phone: str
|
|
email: str
|