package com.cmvr.test.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.NotEmpty;
import java.util.List;

@Data
@ApiModel("任务编排VO")
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
public class TeTaskOrchestraVO {
    @ApiModelProperty("id")
    @NotEmpty(message = "任务ID不能为空")
    private String taskId;

    @ApiModelProperty("检测项ID数组")
    @NotEmpty(message = "检测项ID数组不能为空")
    private List<String> itemIds;
}
