ContainerCapacity.java
3.09 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
package com.huaheng.pc.config.containercapacity.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 com.huaheng.framework.web.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import java.math.BigDecimal;
import java.util.Date;
@Data
@TableName(value = "container_capacity")
public class ContainerCapacity extends BaseEntity {
private static final long serialVersionUID = 1L;
//容器ID
@TableId(value = "id",type = IdType.AUTO)
private Integer id;
/** 仓库Id */
@TableField(value = "warehouseId")
private Integer warehouseId;
/** 仓库编码 */
@TableField(value = "warehouseCode")
private String warehouseCode;
//容器编码
@TableField(value = "code")
private String code;
//容器类型Id
@TableField(value = "containerTypeId")
private Integer containerTypeId;
//容器类型code
@TableField(value = "containerTypeCode")
private String containerTypeCode;
//容器类型名称
@TableField(value = "containerTypeName")
private String containerTypeName;
//物料Id
@TableField(value = "materialId")
private Integer materialId;
//物料名称
@TableField(value = "materialName")
private String materialName;
//物料编码
@TableField(value = "materialCode")
private String materialCode;
//上限值
@TableField(value = "uph")
private BigDecimal uph;
//下限值
@TableField(value = "lph")
private BigDecimal lph;
//备注
@TableField(value = "remark")
private String remark;
/** 创建时间 */
@TableField
private Date created;
/** 创建人 */
@TableField
private String createdBy;
/** 最后更新时间 */
@TableField
private Date lastUpdated;
/** 最后更新人 */
@TableField
private String lastUpdatedBy;
/** 是否有效 */
@TableField
private Boolean enable;
/** 是否删除 */
@TableField
private Boolean deleted;
/** 自定义字段1 */
@TableField
private String userDef1;
@Override
public String toString() {
return new ToStringBuilder(this)
.append("id",id)
.append("code", code)
.append("materialId", materialId)
.append("materialName",materialName)
.append("materialCode", materialCode)
.append("uph", uph)
.append("lph", lph)
.append("remark", remark)
.append("created", created)
.append("createdBy", createdBy)
.append("lastUpdated", lastUpdated)
.append("lastUpdatedBy", lastUpdatedBy)
.append("enable", enable)
.append("deleted", deleted)
.append("userDef1", userDef1)
.append("warehouseCode", warehouseCode)
.append("warehouseId", warehouseId)
.toString();
}
}