|
|
@ -6,6 +6,7 @@ import lombok.Data;
|
|
|
|
|
|
|
|
|
|
|
|
import javax.validation.constraints.NotBlank;
|
|
|
|
import javax.validation.constraints.NotBlank;
|
|
|
|
import javax.validation.constraints.NotEmpty;
|
|
|
|
import javax.validation.constraints.NotEmpty;
|
|
|
|
|
|
|
|
import javax.validation.constraints.NotNull;
|
|
|
|
import java.util.Date;
|
|
|
|
import java.util.Date;
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
|
@ -14,64 +15,56 @@ import java.util.List;
|
|
|
|
public class UpdateTerminalVo {
|
|
|
|
public class UpdateTerminalVo {
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "装置编号", example = "123456")
|
|
|
|
@ApiModelProperty(value = "装置编号", example = "123456")
|
|
|
|
@NotBlank(message = "装置编号不能缺少")
|
|
|
|
@NotNull(message = "装置编号不能缺少")
|
|
|
|
private Integer id;
|
|
|
|
private Integer id;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "线路编号", example = "123456")
|
|
|
|
@ApiModelProperty(value = "线路编号", example = "123456")
|
|
|
|
@NotBlank(message = "线路编号不能缺少")
|
|
|
|
|
|
|
|
private Integer lineid;
|
|
|
|
private Integer lineid;
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "杆塔编号", example = "123456")
|
|
|
|
@ApiModelProperty(value = "杆塔编号", example = "123456")
|
|
|
|
@NotBlank(message = "杆塔编号不能缺少")
|
|
|
|
|
|
|
|
private Integer towerid;
|
|
|
|
private Integer towerid;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "通道编号", example = "123456")
|
|
|
|
|
|
|
|
private List<Integer> channelid;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "sim卡号", example = "123456")
|
|
|
|
|
|
|
|
private String sim;
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "图像监测装置 ID(17 位编码)", example = "12345678")
|
|
|
|
@ApiModelProperty(value = "图像监测装置 ID(17 位编码)", example = "12345678")
|
|
|
|
@NotBlank(message = "图像监测装置不能缺少")
|
|
|
|
@NotBlank(message = "图像监测装置不能缺少")
|
|
|
|
private String cmdid;
|
|
|
|
private String cmdid;
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "原始 ID,各厂家内部识别号", example = "12345678")
|
|
|
|
@ApiModelProperty(value = "原始 ID,各厂家内部识别号", example = "12345678")
|
|
|
|
@NotBlank(message = "各厂家内部识别号不能缺少")
|
|
|
|
|
|
|
|
private Short orgId;
|
|
|
|
private Short orgId;
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "装置名称", example = "名称名称")
|
|
|
|
@ApiModelProperty(value = "装置名称", example = "名称名称")
|
|
|
|
@NotBlank(message = "装置名称不能缺少")
|
|
|
|
|
|
|
|
private String equipName;
|
|
|
|
private String equipName;
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "显示名", example = "名称名称")
|
|
|
|
@ApiModelProperty(value = "显示名", example = "名称名称")
|
|
|
|
@NotBlank(message = "显示名不能缺少")
|
|
|
|
|
|
|
|
private String displayName;
|
|
|
|
private String displayName;
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "装置型号", example = "型号型号")
|
|
|
|
@ApiModelProperty(value = "装置型号", example = "型号型号")
|
|
|
|
@NotBlank(message = "装置型号不能缺少")
|
|
|
|
|
|
|
|
private String model;
|
|
|
|
private String model;
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "装置基本信息版本号", example = "型号型号")
|
|
|
|
@ApiModelProperty(value = "装置基本信息版本号", example = "型号型号")
|
|
|
|
@NotBlank(message = "装置基本信息版本号不能缺少")
|
|
|
|
|
|
|
|
private String essentialInfoVersion;
|
|
|
|
private String essentialInfoVersion;
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "是否带云台", example = " 0: 不带云台 1:带云台")
|
|
|
|
@ApiModelProperty(value = "是否带云台", example = " 0: 不带云台 1:带云台")
|
|
|
|
@NotBlank(message = "是否带云台不能缺少")
|
|
|
|
|
|
|
|
private Byte hasPan;
|
|
|
|
private Byte hasPan;
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "生产厂家", example = "生产厂家")
|
|
|
|
@ApiModelProperty(value = "生产厂家", example = "生产厂家")
|
|
|
|
@NotBlank(message = "生产厂家不能缺少")
|
|
|
|
|
|
|
|
private String bsManufacturer;
|
|
|
|
private String bsManufacturer;
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "生产日期", example = "2022-06-12")
|
|
|
|
@ApiModelProperty(value = "生产日期", example = "2022-06-12")
|
|
|
|
@NotBlank(message = "生产日期不能缺少")
|
|
|
|
|
|
|
|
private Date bsProductionDate;
|
|
|
|
private Date bsProductionDate;
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "出厂编号", example = "123456")
|
|
|
|
@ApiModelProperty(value = "出厂编号", example = "123456")
|
|
|
|
@NotBlank(message = "出厂编号不能缺少")
|
|
|
|
|
|
|
|
private String bsIdentifier;
|
|
|
|
private String bsIdentifier;
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "纬度", example = "21321")
|
|
|
|
@ApiModelProperty(value = "纬度", example = "21321")
|
|
|
|
@NotBlank(message = "纬度不能缺少")
|
|
|
|
|
|
|
|
private Double latitude;
|
|
|
|
private Double latitude;
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "经度", example = "213")
|
|
|
|
@ApiModelProperty(value = "经度", example = "213")
|
|
|
|
@NotBlank(message = "经度不能缺少")
|
|
|
|
|
|
|
|
private Double longitude;
|
|
|
|
private Double longitude;
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|