aijinhui
2023-10-06 1f712d545d8cfd4e9dac74d22a67ebf599df1577
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
package com.ruoyi.alarm.filter.domain;
 
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
 
/**
 * 报警过滤对象 ard_alarm_filter
 * 
 * @author ard
 * @date 2023-10-05
 */
public class ArdAlarmFilter extends BaseEntity
{
    private static final long serialVersionUID = 1L;
 
    /** 主键 */
    private String id;
 
    /** 用户id */
    @Excel(name = "用户id")
    private String userId;
 
    /** 名称 */
    @Excel(name = "名称")
    private String name;
 
    /** 报警类型 */
    @Excel(name = "报警类型")
    private String alarmType;
 
    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;
 
    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
 
    public void setId(String id) 
    {
        this.id = id;
    }
 
    public String getId() 
    {
        return id;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }
 
    public String getUserId() 
    {
        return userId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }
 
    public String getName() 
    {
        return name;
    }
    public void setAlarmType(String alarmType) 
    {
        this.alarmType = alarmType;
    }
 
    public String getAlarmType() 
    {
        return alarmType;
    }
    public void setBeginTime(Date beginTime) 
    {
        this.beginTime = beginTime;
    }
 
    public Date getBeginTime() 
    {
        return beginTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }
 
    public Date getEndTime() 
    {
        return endTime;
    }
 
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("name", getName())
            .append("alarmType", getAlarmType())
            .append("beginTime", getBeginTime())
            .append("endTime", getEndTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}