新增装置接口修改
parent
5d7f3ce1d8
commit
c681ebbb5c
@ -0,0 +1,38 @@
|
||||
package com.shxy.xymanager_common.model;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 所有杆塔列表
|
||||
*/
|
||||
@Data
|
||||
@ApiModel(value = "所有杆塔列表", description = "获取杆塔线路列表信息")
|
||||
public class AllTowerListModel implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "所有杆塔列表", example = "[]")
|
||||
private List<TowerBean> list;
|
||||
|
||||
@Data
|
||||
public static class TowerBean {
|
||||
|
||||
@ApiModelProperty(value = "杆塔编号", example = "123456")
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty(value = "杆塔名称", example = "AAAA")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty(value = "线路编号", example = "123456")
|
||||
private Integer lineId;
|
||||
|
||||
@ApiModelProperty(value = "线路编号", example = "123456")
|
||||
private String lineName;
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
package com.shxy.xymanager_common.model;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 通道列表
|
||||
*/
|
||||
@Data
|
||||
@ApiModel(value = "通道列表", description = "通道列表信息")
|
||||
public class TerminalAllChannelListModel implements Serializable {
|
||||
@ApiModelProperty(value = "通道列表对象", example = "[]")
|
||||
private List<ChannelBean> list;
|
||||
|
||||
@Data
|
||||
public static class ChannelBean {
|
||||
|
||||
@ApiModelProperty(value = "通道编号", example = "123456")
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty(value = "通道名称", example = "123456")
|
||||
private String channelname;
|
||||
|
||||
@ApiModelProperty(value = "通道状态", example = "123456")
|
||||
private Integer status;
|
||||
|
||||
@ApiModelProperty(value = "分辨率W", example = "123456")
|
||||
private Integer maxResolutionWidth;
|
||||
|
||||
@ApiModelProperty(value = "分辨率H", example = "123456")
|
||||
private Integer maxResolutionHeight;
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
package com.shxy.xymanager_common.model;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigInteger;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 图片查询列表
|
||||
*/
|
||||
@Data
|
||||
@ApiModel(value = "图片查询列表对象", description = "图片查询列表对象信息")
|
||||
public class TerminalPhotoSelectListModel implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "总记录数", example = "120")
|
||||
private long total;
|
||||
@ApiModelProperty(value = "总页数", example = "120")
|
||||
private int totalpage;
|
||||
@ApiModelProperty(value = "当前页", example = "1")
|
||||
private int currentpage;
|
||||
@ApiModelProperty(value = "每页记录数", example = "1")
|
||||
private int pagesize;
|
||||
|
||||
@ApiModelProperty(value = "照片对象", example = "[]")
|
||||
private List<PhotoBean> list;
|
||||
|
||||
@Data
|
||||
public static class PhotoBean {
|
||||
|
||||
@ApiModelProperty(value = "装置编号", example = "123456")
|
||||
private Integer termid;
|
||||
|
||||
@ApiModelProperty(value = "预置位编号", example = "123456")
|
||||
private Integer presetId;
|
||||
|
||||
@ApiModelProperty(value = "图片编号", example = "123456")
|
||||
private BigInteger orginalid;
|
||||
|
||||
@ApiModelProperty(value = "图片类型", example = "123456")
|
||||
private Integer mediatype;
|
||||
|
||||
@ApiModelProperty(value = "拍照时间", example = "123456")
|
||||
private Date photoTime;
|
||||
|
||||
@ApiModelProperty(value = "照片路径", example = "123456")
|
||||
private String path;
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
package com.shxy.xymanager_common.vo;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
|
||||
import javax.validation.constraints.Min;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@Validated
|
||||
@ApiModel(value = "图片查询参数对象", description = "装置和通道编号和查询时间描述")
|
||||
public class TerminalPhotoSelectVo {
|
||||
|
||||
@ApiModelProperty(value = "电压编号", example = "123455")
|
||||
private Integer dyid;
|
||||
|
||||
@ApiModelProperty(value = "装置编号", example = "123455")
|
||||
private Integer lineid;
|
||||
|
||||
@ApiModelProperty(value = "装置编号", example = "123455")
|
||||
private Integer towerid;
|
||||
|
||||
@ApiModelProperty(value = "通道编号", example = "123455")
|
||||
private Integer channelid;
|
||||
|
||||
@NotNull(message = "查询时间不能缺少")
|
||||
@ApiModelProperty(value = "查询时间", example = "123455")
|
||||
private Date starttime;
|
||||
|
||||
@NotNull(message = "查询结束时间不能缺少")
|
||||
@ApiModelProperty(value = "查询结束时间", example = "123455")
|
||||
private Date endtime;
|
||||
|
||||
@Min(value = 1, message = "分页位置最小从1开始")
|
||||
@ApiModelProperty(value = "分页位置从1开始", required = true, example = "1")
|
||||
private int pageindex;
|
||||
|
||||
@Min(value = 1, message = "分页大小最小为1")
|
||||
@ApiModelProperty(value = "分页大小", required = true, example = "1")
|
||||
private int pagesize;
|
||||
}
|
Loading…
Reference in New Issue