wlzboy
2026-03-24 6676a35122fd9c97d1b1679c211bc8a9b97f08f2
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
package com.ruoyi.system.domain;
 
import java.io.Serializable;
import java.math.BigDecimal;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
 
/**
 * 车辆异常告警配置对象 tb_vehicle_alert_config
 * 
 * @author ruoyi
 */
public class VehicleAlertConfig extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
 
    /** 配置ID */
    private Long configId;
 
    /** 配置类型(GLOBAL-全局/DEPT-部门/VEHICLE-车辆) */
    @Excel(name = "配置类型", readConverterExp = "GLOBAL=全局,DEPT=部门,VEHICLE=车辆")
    private String configType;
 
    /** 部门ID(部门配置时使用) */
    @Excel(name = "部门ID")
    private Long deptId;
 
    /** 车辆ID(车辆配置时使用) */
    @Excel(name = "车辆ID")
    private Long vehicleId;
 
    /** 目标名称(部门名称或车牌号) */
    private String targetName;
 
    /** 公里数告警阈值(公里) */
    @Excel(name = "公里数阈值")
    private BigDecimal mileageThreshold;
 
    /** 每日最大告警次数 */
    @Excel(name = "每日告警次数")
    private Integer dailyAlertLimit;
 
    /** 告警间隔时间(分钟) */
    @Excel(name = "告警间隔(分钟)")
    private Integer alertInterval;
 
    /** 通知用户ID列表(逗号分隔) */
    @Excel(name = "通知用户")
    private String notifyUserIds;
 
    /** 状态(0-启用 1-停用) */
    @Excel(name = "状态", readConverterExp = "0=启用,1=停用")
    private String status;
 
    public void setConfigId(Long configId) {
        this.configId = configId;
    }
 
    public Long getConfigId() {
        return configId;
    }
 
    public void setConfigType(String configType) {
        this.configType = configType;
    }
 
    public String getConfigType() {
        return configType;
    }
 
    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }
 
    public Long getDeptId() {
        return deptId;
    }
 
    public void setVehicleId(Long vehicleId) {
        this.vehicleId = vehicleId;
    }
 
    public Long getVehicleId() {
        return vehicleId;
    }
 
    public void setTargetName(String targetName) {
        this.targetName = targetName;
    }
 
    public String getTargetName() {
        return targetName;
    }
 
    public void setMileageThreshold(BigDecimal mileageThreshold) {
        this.mileageThreshold = mileageThreshold;
    }
 
    public BigDecimal getMileageThreshold() {
        return mileageThreshold;
    }
 
    public void setDailyAlertLimit(Integer dailyAlertLimit) {
        this.dailyAlertLimit = dailyAlertLimit;
    }
 
    public Integer getDailyAlertLimit() {
        return dailyAlertLimit;
    }
 
    public void setAlertInterval(Integer alertInterval) {
        this.alertInterval = alertInterval;
    }
 
    public Integer getAlertInterval() {
        return alertInterval;
    }
 
    public void setNotifyUserIds(String notifyUserIds) {
        this.notifyUserIds = notifyUserIds;
    }
 
    public String getNotifyUserIds() {
        return notifyUserIds;
    }
 
    public void setStatus(String status) {
        this.status = status;
    }
 
    public String getStatus() {
        return status;
    }
 
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("configId", getConfigId())
                .append("configType", getConfigType())
                .append("deptId", getDeptId())
                .append("vehicleId", getVehicleId())
                .append("targetName", getTargetName())
                .append("mileageThreshold", getMileageThreshold())
                .append("dailyAlertLimit", getDailyAlertLimit())
                .append("alertInterval", getAlertInterval())
                .append("notifyUserIds", getNotifyUserIds())
                .append("status", getStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}