package com.xydl.cac.model;

import com.xydl.cac.entity.Rptparamindex;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

@Data
public class BindingModel {
    @NotNull(message = "sensorId不能为空")
    @ApiModelProperty("sensorId")
    Integer sensorId;
    @NotNull(message = "逻辑设备实例的Id不能为空")
    @ApiModelProperty("逻辑设备实例的Id")
    Integer icdid;
    @ApiModelProperty("配置数据")
    List<Rptparamindex> rptList;
}
