maven
2 天以前 6f8cb882b706f74b4ea00927b0f3d77ab7937aa5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
package com.ruoyi.equipmentenergyconsumption.pojo;
 
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
 
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
 
/**
 * @author :yys
 * @date : 2025/7/29 13:12
 */
@Data
@TableName("equipment_energy_consumption")
@ApiModel
public class EquipmentEnergyConsumption {
 
    private static final long serialVersionUID = 1L;
 
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
 
    /**
     * 设备编号
     */
    @ApiModelProperty("设备编号")
    @Excel(name = "设备编号")
    private String code;
 
    /**
     * 设备名称
     */
    @ApiModelProperty("设备名称")
    @Excel(name = "设备名称")
    private String name;
 
    /**
     * 额定功率
     */
    @ApiModelProperty("额定功率")
    @Excel(name = "额定功率")
    private String powerRating;
 
    /**
     * 实际功率
     */
    @ApiModelProperty("实际功率")
    @Excel(name = "实际功率")
    private String powerActual;
 
 
    /**
     * 当日用电量
     */
    @ApiModelProperty("当日用电量")
    @Excel(name = "当日用电量")
    private BigDecimal dayNum;
 
    /**
     * 昨用电量
     */
    @ApiModelProperty("昨用电量")
    @TableField(exist = false)
    private BigDecimal toDayNum;
 
    /**
     * 本月平均电量(30天计算)
     */
    @ApiModelProperty("本月平均电量(30天计算)")
    @TableField(exist = false)
    private BigDecimal avgNum;
 
 
    /**
     * 趋势
     */
    @ApiModelProperty("趋势")
    @TableField(exist = false)
    private String trend;
 
    /**
     * 累计用电量
     */
    @ApiModelProperty("累计用电量")
    @Excel(name = "累计用电量")
    private BigDecimal sumNum;
    /**
     * 运行时间
     */
    @ApiModelProperty("运行时间")
    @Excel(name = "运行时间" , width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate runDate;
 
    /**
     * 每日限制电量
     */
    @ApiModelProperty("每日限制电量")
    @Excel(name = "每日限制电量")
    private BigDecimal everyNum;
 
    /**
     * 创建者
     */
    @TableField(fill = FieldFill.INSERT)
    private Integer createUser;
 
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
 
    /**
     * 修改者
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Integer updateUser;
 
    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
 
    /**
     * 租户ID
     */
    @TableField(fill = FieldFill.INSERT)
    private Long tenantId;
 
}