doum
2025-09-29 ab38c1ef4e5870c32afaae5fd332f6f69ff4079a
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
package com.doumee.dao.business.model;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.doumee.core.annotation.excel.ExcelColumn;
import com.doumee.service.business.third.model.LoginUserModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
 
/**
 * 报警推送记录
 * @author 江蹄蹄
 * @date 2025/09/28 09:01
 */
@Data
@ApiModel("报警推送记录")
@TableName("`warning_push`")
public class WarningPush  extends LoginUserModel {
 
    @ApiModelProperty(value = "主键", example = "1")
    //@ExcelColumn(name="主键")
    private Integer id;
 
    @ApiModelProperty(value = "创建人编码", example = "1")
    //@ExcelColumn(name="创建人编码")
    private Integer creator;
 
    @ApiModelProperty(value = "创建时间")
    @ExcelColumn(name="发生事件",dateFormat = "yyyy-MM-dd HH:mm:ss",index = 1)
    private Date createDate;
 
    @ApiModelProperty(value = "更新人编码", example = "1")
    //@ExcelColumn(name="更新人编码")
    private Integer editor;
 
    @ApiModelProperty(value = "更新时间")
    //@ExcelColumn(name="更新时间")
    private Date editDate;
 
    @ApiModelProperty(value = "是否删除0否 1是", example = "1")
    //@ExcelColumn(name="是否删除0否 1是")
    private Integer isdeleted;
 
    @ApiModelProperty(value = "备注")
    //@ExcelColumn(name="备注")
    private String info;
 
    @ApiModelProperty(value = "人员编码(关联member)", example = "1")
    //@ExcelColumn(name="人员编码(关联member)")
    private Integer memberId;
 
    @ApiModelProperty(value = "事件编码(关联warning)", example = "1")
    //@ExcelColumn(name="事件编码(关联warning)")
    private Integer warningId;
 
    @ApiModelProperty(value = "报警标题")
    //@ExcelColumn(name="报警标题")
    private String title;
 
    @ApiModelProperty(value = "报警内容")
    //@ExcelColumn(name="报警内容")
    private String content;
 
    @ApiModelProperty(value = "状态 0未推送 1推送成功2推送失败", example = "1")
    @ExcelColumn(name="通知状态",valueMapping = "0=未通知;1=通知成功;2=通知失败;",index = 7)
    private Integer status;
 
    @ApiModelProperty(value = "推送结果", example = "1")
    //@ExcelColumn(name="推送结果")
    private Integer pushInfo;
 
    @ApiModelProperty(value = "事件内容")
    //@ExcelColumn(name="事件内容")
    private String eventInfo;
 
    @ApiModelProperty(value = "所在位置")
    //@ExcelColumn(name="推送标识")
    private String pushId;
    @ApiModelProperty(value = "推送标识")
    @ExcelColumn(name="所在位置",index = 5)
    private String region;
 
    @ApiModelProperty(value = "推送时间")
    //@ExcelColumn(name="推送时间")
    private Date pushDate;
 
    @ApiModelProperty(value = "推送方式 0钉钉通知", example = "1")
    //@ExcelColumn(name="推送方式 0钉钉通知")
    private Integer pushType;
 
    @ApiModelProperty(value = "事件分类 0=安防事件;1=消防事件;2=车载事件;3=钥匙柜事件; 4=天气预警;", example = "1")
    @ExcelColumn(name="事件分类",valueMapping = "0=安防事件;1=消防事件;2=车载事件;3=钥匙柜事件;4=天气预警;",index = 3)
    @TableField(exist = false)
    private Integer warningType;
    @ApiModelProperty(value = "事件类型", example = "1")
    @ExcelColumn(name="事件类型",index = 2)
    @TableField(exist = false)
    private String warningName;
    @ApiModelProperty(value = "事件等级 0低 1中 2高", example = "1")
    @ExcelColumn(name="事件等级",valueMapping = "0=低;1=中;2=高;",index = 4)
    @TableField(exist = false)
    private Integer warningLevel;
    @ApiModelProperty(value = "通知人员", example = "1")
    @ExcelColumn(name="通知人员",index = 6)
    @TableField(exist = false)
    private String memberName;
 
 
 
    @ApiModelProperty(value = "查询时间开始 日期格式:yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @TableField(exist = false)
    private Date queryStarttime;
 
    @ApiModelProperty(value = "查询时间结束 日期格式:yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @TableField(exist = false)
    private Date queryEndtime;
 
}