| 1234567891011121314151617 |
- """客户装/送货物流默认记忆 Schema"""
- from decimal import Decimal
- from typing import Optional
- from pydantic import BaseModel, Field
- class CustomerStopPrefRead(BaseModel):
- customer_id: str = Field(alias="customerId")
- stop_type: str = Field(alias="stopType")
- address: Optional[str] = None
- lng: Optional[Decimal] = None
- lat: Optional[Decimal] = None
- contact: Optional[str] = None
- notes: Optional[str] = None
- model_config = {"from_attributes": True, "populate_by_name": True}
|