AlarmLevel.java
2.37 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
package com.huaheng.pc.config.alarmLevel.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;
@ApiModel(value="com.huaheng.pc.config.alarmLevel.domain.AlarmLevel")
@Data
@TableName(value = "alarm_level")
public class AlarmLevel 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;
/**
* 等级
*/
@TableField(value = "level")
@ApiModelProperty(value="等级")
private Integer level;
/**
* 时间阈值
*/
@TableField(value = "timeThreshold")
@ApiModelProperty(value="时间阈值")
private Integer timeThreshold;
/**
* 创建时间
*/
@TableField(value = "created")
@ApiModelProperty(value="创建时间")
private Date created;
/**
* 创建用户
*/
@TableField(value = "createdBy")
@ApiModelProperty(value="创建用户")
private String createdBy;
/**
* 更新时间
*/
@TableField(value = "lastUpdate")
@ApiModelProperty(value="更新时间")
private Date lastUpdate;
/**
* 更新用户
*/
@TableField(value = "lastUpdateBy")
@ApiModelProperty(value="更新用户")
private String lastUpdateBy;
/**
* 是否有效
*/
@TableField(value = "enable")
@ApiModelProperty(value="是否有效")
private Boolean enable;
/**
* 自定义字段
*/
@TableField(value = "userDef1")
@ApiModelProperty(value="自定义字段")
private String userDef1;
private static final long serialVersionUID = 1L;
}