ConfigWarning.java
3.3 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
141
142
143
144
145
146
147
148
149
150
package com.huaheng.pc.config.configWarning.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.math.BigDecimal;
import java.util.Date;
import lombok.Data;
/**
* Created by Enzo Cotter on 2019/11/11.
*/
@ApiModel(value = "ConfigWarning")
@Data
@TableName(value = "config_warning")
public class ConfigWarning implements Serializable {
@TableId(value = "id", type = IdType.INPUT)
@ApiModelProperty(value = "null")
private Integer id;
/**
* 编码
*/
@TableId(value = "code", type = IdType.INPUT)
@ApiModelProperty(value = "编码")
private String code;
/**
* 类型
*/
@TableField(value = "type")
@ApiModelProperty(value = "类型")
private String type;
/**
* 仓库编码
*/
@TableField(value = "warehouseCode")
@ApiModelProperty(value = "仓库编码")
private String warehouseCode;
/**
* 货主编码
*/
@TableField(value = "companyCode")
@ApiModelProperty(value = "货主编码")
private String companyCode;
/**
* 物料编码
*/
@TableField(value = "materialCode")
@ApiModelProperty(value = "物料编码")
private String materialCode;
/**
* 物料名称
*/
@TableField(value = "materialName")
@ApiModelProperty(value = "物料名称")
private String materialName;
/**
* 物料规格
*/
@TableField(value = "materialSpec")
@ApiModelProperty(value = "物料规格")
private String materialSpec;
/**
* 物料单位
*/
@TableField(value = "materialUnit")
@ApiModelProperty(value = "物料单位")
private String materialUnit;
/**
* 最大
*/
@TableField(value = "max")
@ApiModelProperty(value = "最大")
private BigDecimal max;
/**
* 最小
*/
@TableField(value = "min")
@ApiModelProperty(value = "最小")
private BigDecimal min;
/**
* 最大
*/
@TableField(value = "upper")
@ApiModelProperty(value = "上限预警值")
private BigDecimal upper;
/**
* 最小
*/
@TableField(value = "lower")
@ApiModelProperty(value = "下限预警值")
private BigDecimal lower;
/**
* 备注
*/
@TableField(value = "remark")
@ApiModelProperty(value = "备注")
private String remark;
/**
* 创建时间
*/
@TableField(value = "created")
@ApiModelProperty(value = "创建时间")
private Date created;
/**
* 创建人
*/
@TableField(value = "createdBy")
@ApiModelProperty(value = "创建人")
private String createdBy;
/**
* 更新时间
*/
@TableField(value = "lastUpdated")
@ApiModelProperty(value = "更新时间")
private Date lastUpdated;
/**
* 更新人
*/
@TableField(value = "lastUpdatedBy")
@ApiModelProperty(value = "更新人")
private String lastUpdatedBy;
@TableField(value = "email")
@ApiModelProperty(value = "null")
private String email;
private static final long serialVersionUID = 1L;
}