mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
13 lines
375 B
Python
13 lines
375 B
Python
from dataclasses import dataclass
|
|
from typing import Optional
|
|
|
|
from backend.condition.domain.aspect_type import AspectType
|
|
from backend.condition.domain.element_type import ElementType
|
|
|
|
|
|
@dataclass(frozen=True)
|
|
class ElementMapping:
|
|
elementType: ElementType
|
|
aspect_type: AspectType
|
|
element_instance: Optional[int] = None
|
|
aspect_instance: Optional[int] = None
|