zss
2023-09-09 a62666cf3a69198d68cce5c9890f0a038315d3bc
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
package com.yuanchu.mom.pojo;
 
import com.baomidou.mybatisplus.annotation.*;
 
import java.io.Serializable;
import java.util.Date;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
 
/**
 *
 * @TableName material
 */
@TableName(value ="material")
@Data
public class Material implements Serializable {
    /**
     * 物料id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
 
    /**
     * 物料编码
     */
    private String code;
 
    /**
     * 物料名称
     */
    private String name;
 
    /**
     * 1:成品;2:半成品
     */
    private Integer type;
 
    /**
     * 产品大类0:橡胶连接器;1:金属连接器;2:湿插拔电连接器;3:分支组件
     **/
    private String father;
 
 
    @ApiModelProperty(value = "逻辑删除 正常>=1,删除<=0", hidden = true)
    private Integer state;
 
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间", hidden = true)
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTime;
 
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "更新时间", hidden = true)
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date updateTime;
 
    //版本
    private Integer version;
 
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}