"""
业务枚举定义
============

所有跨层使用的状态枚举集中定义在此，避免字符串硬编码。
"""

from enum import StrEnum


class TaskStatus(StrEnum):
    """调度器作业状态"""

    PENDING = "pending"
    RUNNING = "running"
    COMPLETED = "completed"
    FAILED = "failed"


class SegmentStatus(StrEnum):
    """视频分镜处理状态"""

    PENDING = "pending"
    SUBMITTED = "submitted"
    PROCESSING = "processing"
    COMPLETED = "completed"
    FAILED = "failed"



