package com.cmvr.test.model.vo;

import com.alibaba.fastjson2.JSONObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 工作流节点执行请求
 */
@Data
@ApiModel(value = "FlowActionRequestVO", description = "工作流单节点试执行请求")
public class FlowActionRequestVO {

    /**
     * 动作
     */
    @ApiModelProperty(value = "动作编码。巡检新增动作：INSPECTION_METER_RECOGNIZE、INSPECTION_MANUAL_REVIEW_CREATE",
            required = true, example = "INSPECTION_METER_RECOGNIZE")
    private String action;

    /**
     * 执行参数
     */
    @ApiModelProperty(value = "节点参数。仪表识别参见InspectionMeterRecognizeConfigVO，人工判断参见InspectionManualReviewConfigVO",
            required = true)
    private JSONObject payload;
}
