SendMail.java
3.03 KB
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
package com.huaheng.pc.config.sendMail.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* @author mahuandong
*/
@ApiModel(value="com.huaheng.pc.config.sendMail.domain.SendMail")
@Data
@TableName(value = "send_mail")
public class SendMail implements Serializable {
/**
* 主键,自增字段
*/
@TableId(value = "id", type = IdType.AUTO)
@ApiModelProperty(value="主键,自增字段")
private Integer id;
/**
* 仓库编码
*/
@TableField(value = "warehouseCode")
@ApiModelProperty(value="仓库编码")
private String warehouseCode;
/**
* 货主编码
*/
@TableField(value = "companyCode")
@ApiModelProperty(value="货主编码")
private String companyCode;
/**
* 类别
*/
@TableField(value = "type")
@ApiModelProperty(value="类别")
private Integer type;
/**
* 预警id
*/
@TableField(value = "alarmId")
@ApiModelProperty(value="预警id")
private Integer alarmId;
/**
* 预警级别
*/
@TableField(value = "warningLevel")
@ApiModelProperty(value="预警级别")
private Integer warningLevel;
/**
* 发送级别
*/
@TableField(value = "sendingLevel")
@ApiModelProperty(value="发送级别")
private Integer sendingLevel;
/**
* 收件人
*/
@TableField(value = "addressee")
@ApiModelProperty(value="收件人")
private String addressee;
/**
* 邮箱
*/
@TableField(value = "email")
@ApiModelProperty(value="邮箱")
private String email;
/**
* 预警时间
*/
@TableField(value = "alarmTime")
@ApiModelProperty(value="预警时间")
private Date alarmTime;
/**
* 标题
*/
@TableField(value = "title")
@ApiModelProperty(value="标题")
private String title;
/**
* 正文
*/
@TableField(value = "body")
@ApiModelProperty(value="正文")
private String body;
/**
* 创建时间
*/
@TableField(value = "created")
@ApiModelProperty(value="创建时间")
private Date created;
/**
* 更新时间
*/
@TableField(value = "lastUpdated")
@ApiModelProperty(value="更新时间")
private Date lastUpdated;
/**
* 是否发送
*/
@TableField(value = "enable")
@ApiModelProperty(value="是否发送")
private Boolean enable;
/**
* 是否处理
*/
@TableField(value = "handle")
@ApiModelProperty(value="是否处理")
private Boolean handle;
/**
* 是否删除
*/
@TableField(value = "deleted")
@ApiModelProperty(value="是否删除")
private Boolean deleted;
private static final long serialVersionUID = 1L;
}