鞍钢鲅鱼圈能源管控系统后端代码
潘志宝
2025-05-21 a9926f08f3eca896292e31234364f1b51a46f206
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
package com.iailab.module.ansteel.api.dto;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
 
/**
 * @author dyk
 * @date 2025年04月18日
 */
@Data
public class PowerDemandDTO implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @Schema(description = "id")
    private String id;
 
    @Schema(description = "机组名称")
    private String name;
 
    @Schema(description = "编码")
    private String code;
 
    @Schema(description = "月最大需量")
    private BigDecimal maxDemand;
 
    @Schema(description = "实测需量")
    private BigDecimal curDemand;
 
    @Schema(description = "有功功率")
    private BigDecimal activePower;
 
    @Schema(description = "排序")
    private Integer sort;
 
    @Schema(description = "发生时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date occurTime;
}