from pydantic import BaseModel

class BrandBase(BaseModel):
    name: str

class BrandCreate(BrandBase):
    pass

class BrandUpdate(BrandBase):
    pass

class BrandResponse(BrandBase):
    id: int
    
    class Config:
        from_attributes = True
