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; } }