from pydantic import BaseModel, Field class IncotermDTO(BaseModel): code: str = Field(..., min_length=1, max_length=5) description_es: str description_en: str class Config: from_attributes = True