|
|
|
@@ -1,5 +1,6 @@ |
|
|
|
package com.iformall.domain.po; |
|
|
|
|
|
|
|
import cn.afterturn.easypoi.excel.annotation.Excel; |
|
|
|
import lombok.Data; |
|
|
|
import lombok.EqualsAndHashCode; |
|
|
|
import lombok.ToString; |
|
|
|
@@ -35,21 +36,28 @@ public class KwMeter extends BaseEntity { |
|
|
|
@io.swagger.annotations.ApiModelProperty(value = "tenantId", name = "tenantId") |
|
|
|
private String tenantId; |
|
|
|
|
|
|
|
|
|
|
|
@Excel(name = "电表编号 *", width = 20, orderNum = "1") |
|
|
|
@io.swagger.annotations.ApiModelProperty(value = "电表编号", name = "address") |
|
|
|
private String address; |
|
|
|
|
|
|
|
@Excel(name = "位置", width = 20, orderNum = "2") |
|
|
|
@io.swagger.annotations.ApiModelProperty(value = "位置", name = "place") |
|
|
|
private String place; |
|
|
|
|
|
|
|
@Excel(name = "品牌", width = 20, orderNum = "3") |
|
|
|
@io.swagger.annotations.ApiModelProperty(value = "品牌", name = "brand") |
|
|
|
private String brand; |
|
|
|
|
|
|
|
@Excel(name = "型号", width = 20, orderNum = "4") |
|
|
|
@io.swagger.annotations.ApiModelProperty(value = "型号", name = "model") |
|
|
|
private String model; |
|
|
|
|
|
|
|
@io.swagger.annotations.ApiModelProperty(value = "位置", name = "place") |
|
|
|
private String place; |
|
|
|
|
|
|
|
@Excel(name = "协议(0,1-97协议,07协议)", width =30, orderNum = "5") |
|
|
|
@io.swagger.annotations.ApiModelProperty(value = "协议(0,97协议)(1,07协议)", name = "protocol") |
|
|
|
private Integer protocol; |
|
|
|
|
|
|
|
@Excel(name = "波特率(1200,2400,9600)", width = 30, orderNum = "6") |
|
|
|
@io.swagger.annotations.ApiModelProperty(value = "波特率1200,2400,9600", name = "bandrate") |
|
|
|
private Integer bandrate; |
|
|
|
|
|
|
|
@@ -77,12 +85,23 @@ public class KwMeter extends BaseEntity { |
|
|
|
@io.swagger.annotations.ApiModelProperty(value = "状态0绑定1未绑定", name = "bindStatus") |
|
|
|
private Integer bindStatus; |
|
|
|
|
|
|
|
|
|
|
|
@Excel(name = "采集设备号", width = 20, orderNum = "7") |
|
|
|
@Transient |
|
|
|
private String boxImei; |
|
|
|
|
|
|
|
@Excel(name = "商户", width = 20, orderNum = "8") |
|
|
|
@Transient |
|
|
|
private String merchantName; |
|
|
|
|
|
|
|
@Transient |
|
|
|
private Integer merchantMeterStatus; |
|
|
|
|
|
|
|
@Transient |
|
|
|
protected KwMeterData latestRecord; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static enum Field { |
|
|
|
Id_ASC("`id` ASC"), |
|
|
|
Id_DESC("`id` DESC"), |
|
|
|
|