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();
|
}
|
}
|