lxw
2023-10-26 0dc16213a986c4a1e53d05b20fbe57e62ed0e5b0
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
package com.whyc.pojo;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
 
import java.util.Date;
 
/**
 * 图纸或图片历史的存储地址:
 *  material/[material_id]-[material_code]/[material_code]_timestamp.xxx
 */
 
@TableName("tb_material_history")
public class MaterialHistory {
 
    private Integer id;
    /**
     * productId :
     * 从产品上传,为特定的产品id
     * 从物料更新,为-1
     * 最初始的物料保留,为0
     *
     */
    private Integer productId;
    private Integer materialId;
    private String pictureUrl;
    private String dwgUrl;
    private Integer upUserId;
    private Date createTime;
 
    @TableField(exist = false)
    private String upUserName;
 
    public Integer getProductId() {
        return productId;
    }
 
    public void setProductId(Integer productId) {
        this.productId = productId;
    }
 
    public Integer getUpUserId() {
        return upUserId;
    }
 
    public void setUpUserId(Integer upUserId) {
        this.upUserId = upUserId;
    }
 
    public String getUpUserName() {
        return upUserName;
    }
 
    public void setUpUserName(String upUserName) {
        this.upUserName = upUserName;
    }
 
    public Integer getId() {
        return id;
    }
 
    public void setId(Integer id) {
        this.id = id;
    }
 
    public Integer getMaterialId() {
        return materialId;
    }
 
    public void setMaterialId(Integer materialId) {
        this.materialId = materialId;
    }
 
    public String getPictureUrl() {
        return pictureUrl;
    }
 
    public void setPictureUrl(String pictureUrl) {
        this.pictureUrl = pictureUrl;
    }
 
    public String getDwgUrl() {
        return dwgUrl;
    }
 
    public void setDwgUrl(String dwgUrl) {
        this.dwgUrl = dwgUrl;
    }
 
    public Date getCreateTime() {
        return createTime;
    }
 
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}