"""
byceps.services.brand.transfer.models
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

:Copyright: 2006-2020 Jochen Kupperschmidt
:License: Modified BSD, see LICENSE for details.
"""

from dataclasses import dataclass

from ....typing import BrandID


@dataclass(frozen=True)
class Brand:
    id: BrandID
    title: str
    image_filename: str
    image_url_path: str


@dataclass(frozen=True)
class BrandSetting:
    brand_id: BrandID
    name: str
    value: str

"""
byceps.services.brand.transfer.models
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

:Copyright: 2006-2020 Jochen Kupperschmidt
:License: Modified BSD, see LICENSE for details.
"""

from dataclasses import dataclass
from typing import Optional

from ....typing import BrandID


@dataclass(frozen=True)
class Brand:
    id: BrandID
    title: str
    image_filename: Optional[str]
    image_url_path: Optional[str]


@dataclass(frozen=True)
class BrandSetting:
    brand_id: BrandID
    name: str
    value: str

Fix type hints of brand DTO image fields
Fix type hints of brand DTO image fields
