rk
3 天以前 568e38a95cb6fb20fe16b53d17f610aefc6f744f
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
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;
import java.util.List;
 
/**
 * 报警规则配置表
 * @author 江蹄蹄
 * @date 2025/09/28 09:01
 */
@Data
@ApiModel("报警规则配置表")
@TableName("`warning_rule`")
public class WarningRule  extends LoginUserModel {
 
    @ApiModelProperty(value = "主键", example = "1")
    @TableId(type = IdType.AUTO)
    @ExcelColumn(name="主键")
    private Integer id;
 
    @ApiModelProperty(value = "创建人编码", example = "1")
    @ExcelColumn(name="创建人编码")
    private Integer creator;
 
    @ApiModelProperty(value = "创建时间")
    @ExcelColumn(name="创建时间")
    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 = "规则标题")
    @ExcelColumn(name="规则标题")
    private String title;
 
    @ApiModelProperty(value = "内部人员编码集合(关联member),多个英文逗号隔开", example = "1")
    @ExcelColumn(name="内部人员编码集合(关联member)")
    private String memberIds;
 
    @ApiModelProperty(value = "多规则间隔时间(秒)", example = "1")
    @ExcelColumn(name="多规则间隔时间(秒)")
    private Integer intervalSec;
 
    @ApiModelProperty(value = "排序码")
    @ExcelColumn(name="排序码")
    private String sortnum;
 
    @ApiModelProperty(value = "状态 0禁用 1启用", example = "1")
    @ExcelColumn(name="状态 0禁用 1启用")
    private Integer status;
 
    @ApiModelProperty(value = "报警类型编码(关联warning)", example = "1")
    @ExcelColumn(name="报警类型编码(关联warning)")
    private Integer warningId;
 
    @ApiModelProperty(value = "通知人员-部门集合,多个英文分号隔开", example = "1")
    private String memberNames;
    @ApiModelProperty(value = "人员部门", example = "1")
    @TableField(exist = false)
    private String companyName;
    @ApiModelProperty(value = "人员部门", example = "1")
    @TableField(exist = false)
    private List<WarningRuleDetail> detailList;
 
}