from dataclasses import dataclass
from datetime import datetime


@dataclass(frozen=True)
class WorkflowVersion:
    id: str
    dataflow_uid: str
    environment: str
    version_no: int
    n8n_workflow_id: str
    definition_hash: str
    status: str
    created_at: datetime
