|
@@ -15,7 +15,7 @@ import java.util.Date;
|
|
|
@AutoMapper(target = Attachment.class, reverseConvertGenerate = false)
|
|
|
public class AttachmentBo {
|
|
|
|
|
|
- public AttachmentBo(String category, Long userId, String url, String imageType, String fileName, Date createTime, Date updateTime, Date uploadTime, String storage, String ossId) {
|
|
|
+ public AttachmentBo(String category, Long userId, String url, String imageType, String fileName, Date createTime, Date updateTime, Date uploadTime, String ossId) {
|
|
|
this.category = category;
|
|
|
this.userId = userId;
|
|
|
this.url = url;
|
|
@@ -24,7 +24,6 @@ public class AttachmentBo {
|
|
|
this.createTime = createTime;
|
|
|
this.updateTime = updateTime;
|
|
|
this.uploadTime = uploadTime;
|
|
|
- this.storage = storage;
|
|
|
this.ossId = ossId;
|
|
|
}
|
|
|
|
|
@@ -104,12 +103,12 @@ public class AttachmentBo {
|
|
|
private Date uploadTime;
|
|
|
|
|
|
/**
|
|
|
- * 存储位置
|
|
|
+ * ossId
|
|
|
*/
|
|
|
- private String storage;
|
|
|
+ private String ossId;
|
|
|
|
|
|
/**
|
|
|
- * ossId
|
|
|
+ * sha1
|
|
|
*/
|
|
|
- private String ossId;
|
|
|
+ private String sha1;
|
|
|
}
|