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