This commit is contained in:
aaron 2025-03-25 12:44:54 +08:00
parent faeb44b43f
commit 08a629e2b3
2 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ class AddressDB(Base):
# Pydantic 模型
class AddressCreate(BaseModel):
community_id: int
community_id: Optional[int] = None
community_building_id: Optional[int] = None
address_detail: str = Field(..., max_length=200)
name: str = Field(..., max_length=50)

Binary file not shown.