package com.cmvr.test.model.vo;

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

import javax.validation.constraints.NotEmpty;

@Data
@ApiModel("检测项流程部署VO")
public class TeDetectItemDeployFlowVO {

    @ApiModelProperty(value = "检测项ID", required = true)
    @NotEmpty(message = "检测项ID不可为空")
    private String id;

    @ApiModelProperty(value = "流程JSON数据", required = true)
    @NotEmpty(message = "流程JSON数据不可为空")
    private String flowData;

    @ApiModelProperty(value = "流程运行参数")
    private JSONObject config;
}
