|
@ -0,0 +1,249 @@
|
|
|
package iot.device;
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonInclude;
|
|
|
import io.searchbox.annotations.JestId;
|
|
|
import io.swagger.annotations.ApiModel;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
import org.springframework.data.elasticsearch.core.geo.GeoPoint;
|
|
|
|
|
|
/**
|
|
|
* Created by yeshijie on 2023/5/6.
|
|
|
*/
|
|
|
@JsonInclude(JsonInclude.Include.ALWAYS)
|
|
|
@ApiModel(value = "设备地址信息新", description = "设备地址信息新")
|
|
|
public class IotLocationDataVO {
|
|
|
@JestId
|
|
|
private String id;
|
|
|
|
|
|
@ApiModelProperty("设备绑定的居民身份证")
|
|
|
private String idCard;
|
|
|
|
|
|
@ApiModelProperty("设备类型标识")
|
|
|
private String categoryCode;
|
|
|
|
|
|
@ApiModelProperty("设备SnID")
|
|
|
private String deviceSn;
|
|
|
|
|
|
@ApiModelProperty("设备经纬度")
|
|
|
private GeoPoint location;
|
|
|
|
|
|
@ApiModelProperty("设备绑定时间")
|
|
|
private String deviceTime;
|
|
|
|
|
|
@ApiModelProperty("疾病标签:0无,1高血压,2糖尿病,3高血压糖尿病都有")
|
|
|
private String label;
|
|
|
|
|
|
@ApiModelProperty("病情:0绿标,1黄标,2红标")
|
|
|
private Integer diseaseCondition;
|
|
|
|
|
|
@ApiModelProperty("创建时间")
|
|
|
private String createTime;
|
|
|
@ApiModelProperty("居民姓名")
|
|
|
private String name;
|
|
|
@ApiModelProperty("居民编码")
|
|
|
private String patient;
|
|
|
@ApiModelProperty("设备名称")
|
|
|
private String deviceName;
|
|
|
|
|
|
@ApiModelProperty("设备通用名编码")
|
|
|
private String deviceCommon;
|
|
|
@ApiModelProperty("设备通用名名称")
|
|
|
private String deviceCommonName;
|
|
|
@ApiModelProperty("用途编码")
|
|
|
private String useCode;
|
|
|
@ApiModelProperty("用途名称")
|
|
|
private String useCodeName;
|
|
|
@ApiModelProperty("组合方式编码")
|
|
|
private String combinationMethod;
|
|
|
@ApiModelProperty("组合方式名称")
|
|
|
private String combinationMethodName;
|
|
|
@ApiModelProperty("网络传输编码")
|
|
|
private String networkTransmission;
|
|
|
@ApiModelProperty("网络传输名称")
|
|
|
private String networkTransmissionName;
|
|
|
@ApiModelProperty("地区编码")
|
|
|
private String town;
|
|
|
@ApiModelProperty("地区名称")
|
|
|
private String townName;
|
|
|
|
|
|
public String getName() {
|
|
|
return name;
|
|
|
}
|
|
|
|
|
|
public void setName(String name) {
|
|
|
this.name = name;
|
|
|
}
|
|
|
|
|
|
public String getId() {
|
|
|
return id;
|
|
|
}
|
|
|
|
|
|
public void setId(String id) {
|
|
|
this.id = id;
|
|
|
}
|
|
|
|
|
|
public String getIdCard() {
|
|
|
return idCard;
|
|
|
}
|
|
|
|
|
|
public void setIdCard(String idCard) {
|
|
|
this.idCard = idCard;
|
|
|
}
|
|
|
|
|
|
public String getDeviceSn() {
|
|
|
return deviceSn;
|
|
|
}
|
|
|
|
|
|
public void setDeviceSn(String deviceSn) {
|
|
|
this.deviceSn = deviceSn;
|
|
|
}
|
|
|
|
|
|
public String getCategoryCode() {
|
|
|
return categoryCode;
|
|
|
}
|
|
|
|
|
|
public void setCategoryCode(String categoryCode) {
|
|
|
this.categoryCode = categoryCode;
|
|
|
}
|
|
|
|
|
|
public GeoPoint getLocation() {
|
|
|
return location;
|
|
|
}
|
|
|
|
|
|
public void setLocation(GeoPoint location) {
|
|
|
this.location = location;
|
|
|
}
|
|
|
|
|
|
public String getDeviceTime() {
|
|
|
return deviceTime;
|
|
|
}
|
|
|
|
|
|
public void setDeviceTime(String deviceTime) {
|
|
|
this.deviceTime = deviceTime;
|
|
|
}
|
|
|
|
|
|
public String getCreateTime() {
|
|
|
return createTime;
|
|
|
}
|
|
|
|
|
|
public void setCreateTime(String createTime) {
|
|
|
this.createTime = createTime;
|
|
|
}
|
|
|
|
|
|
public Integer getDiseaseCondition() {
|
|
|
return diseaseCondition;
|
|
|
}
|
|
|
|
|
|
public void setDiseaseCondition(Integer diseaseCondition) {
|
|
|
this.diseaseCondition = diseaseCondition;
|
|
|
}
|
|
|
|
|
|
public void setLocation(Double lat, Double lng) {
|
|
|
GeoPoint geoPoint = new GeoPoint(lat, lng);
|
|
|
this.location = geoPoint;
|
|
|
}
|
|
|
|
|
|
public String getLabel() {
|
|
|
return label;
|
|
|
}
|
|
|
|
|
|
public void setLabel(String label) {
|
|
|
this.label = label;
|
|
|
}
|
|
|
|
|
|
public String getPatient() {
|
|
|
return patient;
|
|
|
}
|
|
|
|
|
|
public void setPatient(String patient) {
|
|
|
this.patient = patient;
|
|
|
}
|
|
|
|
|
|
public String getDeviceName() {
|
|
|
return deviceName;
|
|
|
}
|
|
|
|
|
|
public void setDeviceName(String deviceName) {
|
|
|
this.deviceName = deviceName;
|
|
|
}
|
|
|
|
|
|
public String getDeviceCommon() {
|
|
|
return deviceCommon;
|
|
|
}
|
|
|
|
|
|
public void setDeviceCommon(String deviceCommon) {
|
|
|
this.deviceCommon = deviceCommon;
|
|
|
}
|
|
|
|
|
|
public String getDeviceCommonName() {
|
|
|
return deviceCommonName;
|
|
|
}
|
|
|
|
|
|
public void setDeviceCommonName(String deviceCommonName) {
|
|
|
this.deviceCommonName = deviceCommonName;
|
|
|
}
|
|
|
|
|
|
public String getUseCode() {
|
|
|
return useCode;
|
|
|
}
|
|
|
|
|
|
public void setUseCode(String useCode) {
|
|
|
this.useCode = useCode;
|
|
|
}
|
|
|
|
|
|
public String getUseCodeName() {
|
|
|
return useCodeName;
|
|
|
}
|
|
|
|
|
|
public void setUseCodeName(String useCodeName) {
|
|
|
this.useCodeName = useCodeName;
|
|
|
}
|
|
|
|
|
|
public String getCombinationMethod() {
|
|
|
return combinationMethod;
|
|
|
}
|
|
|
|
|
|
public void setCombinationMethod(String combinationMethod) {
|
|
|
this.combinationMethod = combinationMethod;
|
|
|
}
|
|
|
|
|
|
public String getCombinationMethodName() {
|
|
|
return combinationMethodName;
|
|
|
}
|
|
|
|
|
|
public void setCombinationMethodName(String combinationMethodName) {
|
|
|
this.combinationMethodName = combinationMethodName;
|
|
|
}
|
|
|
|
|
|
public String getNetworkTransmission() {
|
|
|
return networkTransmission;
|
|
|
}
|
|
|
|
|
|
public void setNetworkTransmission(String networkTransmission) {
|
|
|
this.networkTransmission = networkTransmission;
|
|
|
}
|
|
|
|
|
|
public String getNetworkTransmissionName() {
|
|
|
return networkTransmissionName;
|
|
|
}
|
|
|
|
|
|
public void setNetworkTransmissionName(String networkTransmissionName) {
|
|
|
this.networkTransmissionName = networkTransmissionName;
|
|
|
}
|
|
|
|
|
|
public String getTown() {
|
|
|
return town;
|
|
|
}
|
|
|
|
|
|
public void setTown(String town) {
|
|
|
this.town = town;
|
|
|
}
|
|
|
|
|
|
public String getTownName() {
|
|
|
return townName;
|
|
|
}
|
|
|
|
|
|
public void setTownName(String townName) {
|
|
|
this.townName = townName;
|
|
|
}
|
|
|
}
|