|
|
|
@@ -6,6 +6,7 @@ import com.iformall.domain.po.base.TenantEntity; |
|
|
|
import com.iformall.enums.EnumEnergyMeterPhysicsType; |
|
|
|
import com.iformall.enums.EnumEnergyMeterType; |
|
|
|
import com.iformall.enums.EnumRentShopType; |
|
|
|
import com.iformall.enums.EnumeElectriType; |
|
|
|
|
|
|
|
import cn.afterturn.easypoi.excel.annotation.Excel; |
|
|
|
import lombok.Data; |
|
|
|
@@ -89,8 +90,31 @@ public class WxEnergyMeter extends TenantEntity { |
|
|
|
@io.swagger.annotations.ApiModelProperty(value = "是否参与计费", name = "hasFee") |
|
|
|
private Integer hasFee; |
|
|
|
|
|
|
|
@Excel(name = "三相/单相", replace = {"三相_1", "单相_2"}, width = 20, orderNum = "8") |
|
|
|
@io.swagger.annotations.ApiModelProperty(value = "三相/单相EnumeElectriType", name = "electriType") |
|
|
|
private Integer electriType; |
|
|
|
@TableField(exist = false) |
|
|
|
private String electriTypeName; |
|
|
|
public String getElectriType() { |
|
|
|
if (null != electriType) { |
|
|
|
return EnumeElectriType.getEnum(electriType).getMessage(); |
|
|
|
} |
|
|
|
return null; |
|
|
|
} |
|
|
|
|
|
|
|
@Excel(name = "变电器名称", width = 20, orderNum = "9") |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="变电器名称",name="transName") |
|
|
|
private String transName; |
|
|
|
|
|
|
|
@Excel(name = "比值", width = 20, orderNum = "10") |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="比值",name="ratio") |
|
|
|
private String ratio; |
|
|
|
|
|
|
|
@Excel(name = "位置", width = 20, orderNum = "11") |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="位置",name="address") |
|
|
|
private String address; |
|
|
|
|
|
|
|
@Excel(name = "关联", width = 20, orderNum = "8") |
|
|
|
@Excel(name = "关联", width = 20, orderNum = "12") |
|
|
|
@TableField(exist = false) |
|
|
|
private String aliseName; |
|
|
|
|
|
|
|
|