MaterialWarning.java
2.67 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
package com.huaheng.pc.config.materialWarnning.domain;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.*;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
/**
* 物料报警表 material_warning
*
* @author huaheng
* @date 2020-07-17
*/
@TableName(value = "material_warning")
@Data
public class MaterialWarning implements Serializable{
private static final long serialVersionUID = 1L;
/** - */
@TableId(value = "id", type = IdType.AUTO)
private Integer id;
/** 预警类别代码 */
@TableField(value = "alarmType")
private String alarmType;
/** 仓库编码 */
@TableField(value = "warehouseCode")
private String warehouseCode;
/** 货主编码 */
@TableField(value = "companyCode")
private String companyCode;
/** 物料编码 */
@TableField(value = "materialCode")
private String materialCode;
/** 物料名称 */
@TableField(value = "materialName")
private String materialName;
/** 物料规格 */
@TableField(value = "materialSpec")
private String materialSpec;
/** 物料单位 */
@TableField(value = "materialUnit")
private String materialUnit;
/** 最大 */
@TableField(value = "max")
private BigDecimal max;
/** 最小 */
@TableField(value = "min")
private BigDecimal min;
/** 上限预警值 */
@TableField(value = "upper")
private BigDecimal upper;
/** 下限预警值 */
@TableField(value = "lower")
private BigDecimal lower;
/** 备注 */
@TableField(value = "remark")
private String remark;
/** 创建时间 */
@TableField(value = "created", fill = FieldFill.INSERT)
private Date created;
/** 创建人 */
@TableField(value = "createdBy", fill = FieldFill.INSERT)
private String createdBy;
/** 更新时间 */
@TableField(value = "lastUpdated", fill = FieldFill.INSERT_UPDATE)
private Date lastUpdated;
/** 更新人 */
@TableField(value = "lastUpdatedBy", fill = FieldFill.INSERT_UPDATE)
private String lastUpdatedBy;
/** - */
@TableField(value = "userId")
private String userId;
/** - */
@TableField(value = "userName")
private String userName;
/** - */
@TableField(value = "email")
private String email;
}