from dataclasses import dataclass
from enum import IntEnum


@dataclass
class Ticket:
    id: str
    result: int
    textResult: str


class TicketResult(IntEnum):
    FAILED = 101
    SUCCESSFUL = 100
