feat(realestate-profile): expose 5tier districts + min_match_score + notify_enabled
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from typing import Optional, List
|
||||
from pydantic import BaseModel
|
||||
from typing import Optional, List, Dict
|
||||
from pydantic import BaseModel, Field
|
||||
|
||||
|
||||
class AnnouncementCreate(BaseModel):
|
||||
@@ -80,3 +80,7 @@ class ProfileUpdate(BaseModel):
|
||||
min_area: Optional[float] = None
|
||||
max_area: Optional[float] = None
|
||||
max_price: Optional[int] = None
|
||||
# 신규
|
||||
preferred_districts: Optional[Dict[str, List[str]]] = None
|
||||
min_match_score: Optional[int] = Field(default=None, ge=0, le=100)
|
||||
notify_enabled: Optional[bool] = None
|
||||
|
||||
Reference in New Issue
Block a user