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

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 任务实时可处理状态。BLOCKED 不落库，由同订单前置任务实时计算。
 */
public record ReservationTaskAvailabilityResult(
        boolean blocked,
        @JsonProperty("read_only")
        boolean readOnly,
        boolean editable,
        boolean confirmable,
        boolean executable,
        @JsonProperty("blocked_by_task_id")
        String blockedByTaskId,
        @JsonProperty("blocked_reason")
        String blockedReason
) {
}
