xiaoyi
4 天以前 883f5e73fbe7458fd760dbe8560dd5d8757e04cd
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
package cn.iocoder.yudao.module.mes.controller.admin.em.record.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
 
@Schema(description = "管理后台 - MES 能耗抄表记录 Response VO")
@Data
public class MesEmRecordRespVO {
 
    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long id;
 
    @Schema(description = "计量点编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long meterId;
 
    @Schema(description = "计量点编码", example = "EM-DL-001")
    private String meterCode;
 
    @Schema(description = "计量点名称", example = "变压器车间总电表")
    private String meterName;
 
    @Schema(description = "能源类型", example = "1")
    private Integer energyType;
 
    @Schema(description = "能源类型名称", example = "电")
    private String energyTypeName;
 
    @Schema(description = "计量单位", example = "kWh")
    private String unit;
 
    @Schema(description = "倍率", example = "1")
    private BigDecimal ratio;
 
    @Schema(description = "折标煤系数", example = "0.1229")
    private BigDecimal coalFactor;
 
    @Schema(description = "所属车间编号", example = "7")
    private Long workshopId;
 
    @Schema(description = "所属车间名称", example = "变压器制造车间")
    private String workshopName;
 
    @Schema(description = "所属产线编号", example = "1")
    private Long lineId;
 
    @Schema(description = "所属产线名称", example = "变压器生产线")
    private String lineName;
 
    @Schema(description = "关联设备编号", example = "1001")
    private Long machineryId;
 
    @Schema(description = "关联设备名称", example = "真空浇注罐")
    private String machineryName;
 
    @Schema(description = "抄表日期", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDate recordDate;
 
    @Schema(description = "期初读数", example = "1000")
    private BigDecimal prevReading;
 
    @Schema(description = "期末读数", example = "1200")
    private BigDecimal reading;
 
    @Schema(description = "实际用量", example = "200")
    private BigDecimal usageAmount;
 
    @Schema(description = "单价", example = "0.68")
    private BigDecimal price;
 
    @Schema(description = "费用", example = "136")
    private BigDecimal cost;
 
    @Schema(description = "数据来源", example = "1")
    private Integer source;
 
    @Schema(description = "数据来源名称", example = "手工录入")
    private String sourceName;
 
    @Schema(description = "备注")
    private String remark;
 
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
 
}