package com.njcn.device.pq.pojo.param;

import com.njcn.web.pojo.param.BaseParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;


/**
 * @version 1.0.0
 * @author: zbj
 * @date: 2023/05/23
 */
@Data
public class ProgramParam extends BaseParam implements Serializable {

    @ApiModelProperty(name = "devType", value = "装置系列,字典表", required = false)
    private String devType;

    @Data
    public static class Version{
        @ApiModelProperty(name = "devType", value = "装置系列,字典表")
        @NotBlank(message = "装置系列字典不能为空")
        private String devType;

        @ApiModelProperty(name = "devType", value = "版本编号集合")
        @NotEmpty(message = "版本编号集合不能为空")
        private String versionIds;
    }

}