fg电池监控平台的达梦数据库版本
whycxzp
2024-11-11 f6cec8970fa54813be5e7eebf641253b7a304606
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
package com.whyc.pojo;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.whyc.dto.Page;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;
 
import java.io.Serializable;
import java.util.Date;
import java.util.List;
 
/**
 * <p>
 * 
 * </p>
 *
 * @author xuzhongpei
 * @since 2021-12-10
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(schema ="db_pwrdev_alarm" ,value="tb_pwrdev_alarm_history")
@ApiModel(value="PwrdevAlarmHistory对象", description="")
@JsonIgnoreProperties(ignoreUnknown = true)
public class PwrdevAlarmHistory implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @TableId(value = "num", type = IdType.AUTO)
    private Long num;
 
    private Long recordId;
 
    @TableField("PowerDeviceId")
    private Long PowerDeviceId;
 
    private Integer almType;
 
    @TableField(exist = false)
    private List<Integer> almTypes;
 
    private Integer almLevel;
 
    @TableField(exist = false)
    private List<Integer> almLevels;
 
    private Integer almSource;
 
    private Integer almIndex;
 
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date almStartTime;
 
    @TableField(exist = false)
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date almStartTime1;
 
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date almEndTime;
 
    private Float almValue;
 
    private Integer almIsConfirmed;
 
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date almConfirmedTime;
 
    private Integer almClearedType;
 
    @TableField("usr_Id")
    private Integer usrId;
 
    @TableField(exist = false)
    @ApiModelProperty(value = "故障名称拼接")
    private String alarmName;
 
    @TableField(exist = false)
    @ApiModelProperty(value = "告警类型拼接")
    private String alarmLevels;
 
    @ApiModelProperty(value = "机房全名")
    private String stationName;
 
    @ApiModelProperty(value = "机房所在省")
    private String stationName1;
 
    @TableField(exist = false)
    @ApiModelProperty(value = "机房所在市")
    private String stationName2;
 
    @ApiModelProperty(value = "机房所在区县")
    private String stationName5;
 
    @ApiModelProperty(value = "机房名称")
    private String stationName3;
 
    @ApiModelProperty(value = "电源名称")
    @TableField(exist = false)
    private String powerDeviceName;
 
    @TableField(exist = false)
    private Page page;
 
    @TableField(exist = false)
    private String recordYear;
 
 
    @ApiModelProperty(value = "告警重要等级[0:重要;1:紧急]")
    @TableField("alm_severity")
    private Integer almSeverity;
 
    private Integer almTrigger;
 
    @TableField(exist = false)
    private Integer limitStart;
 
    @TableField(exist = false)
    private Integer limitEnd;
}