You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
922 B
26 lines
922 B
package com.mh.user.entity; |
|
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
|
import com.mh.user.utils.Double2Serializer; |
|
import lombok.Data; |
|
|
|
@Data |
|
public class EnergyEntity { |
|
|
|
private Long id; |
|
private String curDate; //时间 |
|
private String buildingId; //楼栋编号 |
|
private String buildingName; //楼栋名称 |
|
private double hotWaterValue; //热水产量 |
|
private double useHotWater; //热水消耗 |
|
private double electValue; //用电量 |
|
private double electWater; //单耗 |
|
private int checkInCount; //楼栋人数 |
|
@JsonSerialize(using = Double2Serializer.class) |
|
private double perElect; //平均用电 |
|
@JsonSerialize(using = Double2Serializer.class) |
|
private double perWater; //平均用水 |
|
private String electCurValue; //电表读数 |
|
private String wtCurValue; //水表读数 |
|
|
|
}
|
|
|