| | |
| | | |
| | | 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; |
| | |
| | | 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() { |