|
@ -0,0 +1,187 @@
|
|
|
package com.yihu.jw.entity.iot.statistics;
|
|
|
|
|
|
import com.yihu.jw.entity.UuidIdentityEntityWithCreateTime;
|
|
|
|
|
|
import javax.persistence.Column;
|
|
|
import javax.persistence.Entity;
|
|
|
import javax.persistence.Table;
|
|
|
|
|
|
/**
|
|
|
* 大屏-统计-设备库存数据
|
|
|
* Created by yeshijie on 2023/5/6.
|
|
|
*/
|
|
|
@Entity
|
|
|
@Table(name = "iot_statistics_stock")
|
|
|
public class IotStatisticsStockDO extends UuidIdentityEntityWithCreateTime {
|
|
|
|
|
|
private String name;//名称
|
|
|
private String type;//类别 设备通用名字典
|
|
|
private String parentType;//父类别 顶级为0
|
|
|
private String town;//地区编码
|
|
|
private String townName;//地区名称
|
|
|
private Long total;//总数
|
|
|
private Long useing;//使用数
|
|
|
private Long stock;//库存数
|
|
|
private Long iotCount;//物联数
|
|
|
private Long lostCount;//失联数
|
|
|
private Long interveneCount;//干预数
|
|
|
private Long issueCount;//发放数
|
|
|
private Long bindingCount;//绑定数
|
|
|
private Long diseasePatientCount;//慢病患者数
|
|
|
private Long diseasePatientDeviceCount;//慢病患者设备数
|
|
|
private Long diseasePatientUseCount;//慢病患者设备使用数
|
|
|
private Long faultCount;//设备故障数
|
|
|
|
|
|
@Column(name = "name")
|
|
|
public String getName() {
|
|
|
return name;
|
|
|
}
|
|
|
|
|
|
public void setName(String name) {
|
|
|
this.name = name;
|
|
|
}
|
|
|
|
|
|
@Column(name = "type")
|
|
|
public String getType() {
|
|
|
return type;
|
|
|
}
|
|
|
|
|
|
public void setType(String type) {
|
|
|
this.type = type;
|
|
|
}
|
|
|
|
|
|
@Column(name = "parent_type")
|
|
|
public String getParentType() {
|
|
|
return parentType;
|
|
|
}
|
|
|
|
|
|
public void setParentType(String parentType) {
|
|
|
this.parentType = parentType;
|
|
|
}
|
|
|
|
|
|
@Column(name = "town")
|
|
|
public String getTown() {
|
|
|
return town;
|
|
|
}
|
|
|
|
|
|
public void setTown(String town) {
|
|
|
this.town = town;
|
|
|
}
|
|
|
|
|
|
@Column(name = "town_name")
|
|
|
public String getTownName() {
|
|
|
return townName;
|
|
|
}
|
|
|
|
|
|
public void setTownName(String townName) {
|
|
|
this.townName = townName;
|
|
|
}
|
|
|
|
|
|
@Column(name = "total")
|
|
|
public Long getTotal() {
|
|
|
return total;
|
|
|
}
|
|
|
|
|
|
public void setTotal(Long total) {
|
|
|
this.total = total;
|
|
|
}
|
|
|
|
|
|
@Column(name = "useing")
|
|
|
public Long getUseing() {
|
|
|
return useing;
|
|
|
}
|
|
|
|
|
|
public void setUseing(Long useing) {
|
|
|
this.useing = useing;
|
|
|
}
|
|
|
|
|
|
@Column(name = "stock")
|
|
|
public Long getStock() {
|
|
|
return stock;
|
|
|
}
|
|
|
|
|
|
public void setStock(Long stock) {
|
|
|
this.stock = stock;
|
|
|
}
|
|
|
|
|
|
@Column(name = "iot_count")
|
|
|
public Long getIotCount() {
|
|
|
return iotCount;
|
|
|
}
|
|
|
|
|
|
public void setIotCount(Long iotCount) {
|
|
|
this.iotCount = iotCount;
|
|
|
}
|
|
|
|
|
|
@Column(name = "lost_count")
|
|
|
public Long getLostCount() {
|
|
|
return lostCount;
|
|
|
}
|
|
|
|
|
|
public void setLostCount(Long lostCount) {
|
|
|
this.lostCount = lostCount;
|
|
|
}
|
|
|
|
|
|
@Column(name = "intervene_count")
|
|
|
public Long getInterveneCount() {
|
|
|
return interveneCount;
|
|
|
}
|
|
|
|
|
|
public void setInterveneCount(Long interveneCount) {
|
|
|
this.interveneCount = interveneCount;
|
|
|
}
|
|
|
|
|
|
@Column(name = "issue_count")
|
|
|
public Long getIssueCount() {
|
|
|
return issueCount;
|
|
|
}
|
|
|
|
|
|
public void setIssueCount(Long issueCount) {
|
|
|
this.issueCount = issueCount;
|
|
|
}
|
|
|
|
|
|
@Column(name = "binding_count")
|
|
|
public Long getBindingCount() {
|
|
|
return bindingCount;
|
|
|
}
|
|
|
|
|
|
public void setBindingCount(Long bindingCount) {
|
|
|
this.bindingCount = bindingCount;
|
|
|
}
|
|
|
|
|
|
@Column(name = "disease_patient_count")
|
|
|
public Long getDiseasePatientCount() {
|
|
|
return diseasePatientCount;
|
|
|
}
|
|
|
|
|
|
public void setDiseasePatientCount(Long diseasePatientCount) {
|
|
|
this.diseasePatientCount = diseasePatientCount;
|
|
|
}
|
|
|
|
|
|
@Column(name = "disease_patient_device_count")
|
|
|
public Long getDiseasePatientDeviceCount() {
|
|
|
return diseasePatientDeviceCount;
|
|
|
}
|
|
|
|
|
|
public void setDiseasePatientDeviceCount(Long diseasePatientDeviceCount) {
|
|
|
this.diseasePatientDeviceCount = diseasePatientDeviceCount;
|
|
|
}
|
|
|
|
|
|
@Column(name = "disease_patient_use_count")
|
|
|
public Long getDiseasePatientUseCount() {
|
|
|
return diseasePatientUseCount;
|
|
|
}
|
|
|
|
|
|
public void setDiseasePatientUseCount(Long diseasePatientUseCount) {
|
|
|
this.diseasePatientUseCount = diseasePatientUseCount;
|
|
|
}
|
|
|
|
|
|
@Column(name = "fault_count")
|
|
|
public Long getFaultCount() {
|
|
|
return faultCount;
|
|
|
}
|
|
|
|
|
|
public void setFaultCount(Long faultCount) {
|
|
|
this.faultCount = faultCount;
|
|
|
}
|
|
|
}
|