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

import java.time.LocalDateTime;

/**
 * OPERA 模拟操作快照。Service 使用该对象展示操作状态，不暴露 Entity。
 */
public record ReservationOperaOperationSnapshot(
        Long id,
        String hotelId,
        Long orderId,
        Long taskId,
        Integer operationSequence,
        String operationCode,
        String operationName,
        String operationStatus,
        String requestPayloadJson,
        Integer attemptCount,
        Long lastAttemptId,
        String lastErrorMessage,
        LocalDateTime createdAt,
        LocalDateTime updatedAt
) {
}
