package cn.nianxx.thhotel.workflows.reservation.common.dto;

import java.time.LocalDateTime;

/**
 * 任务快照。用于任务详情、队列可处理状态、人工复核转换和任务确认，不向上暴露 Entity。
 */
public record ReservationTaskSnapshot(
        Long id,
        String hotelId,
        Long orderId,
        Long sourceMessageId,
        Long aiTransitionId,
        String resultType,
        String aiTaskType,
        String systemTaskType,
        String taskCardType,
        String taskSubtype,
        String taskStatus,
        Boolean queueParticipation,
        Integer executionOrder,
        Long parentTaskId,
        Integer parentSourceEventIndex,
        String linkedTaskGroupId,
        Boolean blockedUntilParentCompleted,
        LocalDateTime confirmedAt
) {
}
