from pydantic import BaseModel, ConfigDict
from typing import Optional, List
from datetime import date

class InvPartAphisCharacteristicDTO(BaseModel):
    id: Optional[int] = None
    aphis_general_id: Optional[int] = None
    item_id: Optional[str] = None
    number_from: Optional[str] = None
    number_to: Optional[str] = None
    category_type: Optional[str] = None
    commodity_qua: Optional[str] = None
    commodity_char_qua: Optional[str] = None
    description: Optional[str] = None
    category_code: Optional[str] = None
    
    model_config = ConfigDict(from_attributes=True)
