17 lines
327 B
Python
17 lines
327 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
|
||
|
full_name: str
|
||
|
phone: str | None
|
||
|
email: str | None
|