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 TeTaskExecuteTrailVO {

    @ApiModelProperty("检测项ID")
    @NotEmpty(message = "检测项ID不能为空")
    private String itemId;

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

    @ApiModelProperty("终端ID")
//    @NotEmpty(message = "终端ID不能为空")
    private String terminalId;

    @ApiModelProperty(value = "运行时参数")
    private JSONObject runParams = new JSONObject();
}
