自动化立体仓库 - WMS系统
1
zc
2024-09-21 f97266870e6ad8f964f10937e5588b5b5fa222eb
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
package com.zy.third.erp.entity;
 
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.core.common.Cools;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.Date;
 
@Data
@NoArgsConstructor
@TableName("erp_ItemTB")
public class ItemTB implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @TableId(value = "AutoId", type = IdType.AUTO)
    private Integer AutoId;
 
    @ApiModelProperty(value = "")
    @TableId(value = "ItemId", type = IdType.INPUT)
    @TableField("ItemId")
    private String ItemId;
 
 
    @ApiModelProperty(value = "")
    @TableField("ItemCode")
    private String ItemCode;
 
    @TableField("ItemName")
    @ApiModelProperty(value = "")
    private String ItemName;
 
    @TableField("ItemSpc")
    @ApiModelProperty(value = "")
    private String ItemSpc;
 
    @TableField("ItemPic")
    private String itemPic;
 
    @TableField("ItemUnit")
    @ApiModelProperty(value = "")
    private String ItemUnit;
 
    /**
     * 毛坯、半成品、成品
     */
    @TableField("ItemKind")
    @ApiModelProperty(value = "毛坯、半成品、成品")
    private String ItemKind;
 
    @ApiModelProperty(value = "")
    @TableField("Remark")
    private String Remark;
 
    /**
     * 00:新增  22:删除
     */
    @ApiModelProperty(value = "00:新增  22:删除")
    @TableField("Flag")
    private String Flag;
 
    @ApiModelProperty(value = "")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss.fff")
    @TableField("MakeDate")
    private Date MakeDate;
 
    @ApiModelProperty(value = "")
    @TableField("Temp1")
    private String Temp1;
 
    @ApiModelProperty(value = "")
    @TableField("Temp2")
    private String Temp2;
 
    @ApiModelProperty(value = "")
    @TableField("Temp3")
    private String Temp3;
 
    @ApiModelProperty(value = "")
    @TableField("LKName")
    private String LKName;
 
 
    public String getMakedate$() {
        if (Cools.isEmpty(this.MakeDate)) {
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.MakeDate);
    }
 
 
}