endpoint setup

This commit is contained in:
exolonConfidental
2026-02-08 11:18:47 +05:30
parent 8fb3b7cf67
commit a77788fc47
33 changed files with 932 additions and 352 deletions

View File

@@ -0,0 +1,17 @@
from pydantic import BaseModel
class OwnerResponse(BaseModel):
id: int
full_name: str
phone_number: str
email: str
occupation: str
annual_income_range: str
willing_to_rent: bool
desired_rent_price: int | None
willing_to_sell: bool
desired_sell_price: int | None
class Config:
from_attributes = True