whyclxw
2 天以前 cf9a5039e6db9d1d5963e3fe1a37d00169ec2ef7
src/main/java/com/whyc/pojo/MaterialHistory.java
@@ -5,18 +5,39 @@
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 picUrl;
    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;
@@ -50,12 +71,12 @@
        this.materialId = materialId;
    }
    public String getPicUrl() {
        return picUrl;
    public String getPictureUrl() {
        return pictureUrl;
    }
    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl;
    public void setPictureUrl(String pictureUrl) {
        this.pictureUrl = pictureUrl;
    }
    public String getDwgUrl() {