from dataclasses import dataclass
from typing import Optional
from datetime import date

from backend.condition.domain.aspect_type import AspectType


@dataclass
class AspectCondition:
    aspect_type: AspectType
    aspect_instance: int

    value: Optional[str] = None
    quantity: Optional[int] = None
    install_date: Optional[date] = None
    renewal_year: Optional[int] = None
    comments: Optional[str] = None
