|
@@ -1,5 +1,8 @@
|
|
|
package cn.reghao.oss.api.dto;
|
|
package cn.reghao.oss.api.dto;
|
|
|
|
|
|
|
|
|
|
+import lombok.AllArgsConstructor;
|
|
|
|
|
+import lombok.Getter;
|
|
|
|
|
+
|
|
|
import java.io.Serializable;
|
|
import java.io.Serializable;
|
|
|
import java.time.LocalDateTime;
|
|
import java.time.LocalDateTime;
|
|
|
|
|
|
|
@@ -7,13 +10,19 @@ import java.time.LocalDateTime;
|
|
|
* @author reghao
|
|
* @author reghao
|
|
|
* @date 2024-07-11 16:42:40
|
|
* @date 2024-07-11 16:42:40
|
|
|
*/
|
|
*/
|
|
|
|
|
+@Getter
|
|
|
public class FileInfo implements Serializable {
|
|
public class FileInfo implements Serializable {
|
|
|
private static final long serialVersionUID = 1L;
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
|
|
private String objectId;
|
|
private String objectId;
|
|
|
private String objectName;
|
|
private String objectName;
|
|
|
|
|
+ private Integer fileType;
|
|
|
private String filename;
|
|
private String filename;
|
|
|
private Long size;
|
|
private Long size;
|
|
|
private Integer storageType;
|
|
private Integer storageType;
|
|
|
private LocalDateTime updateTime;
|
|
private LocalDateTime updateTime;
|
|
|
|
|
+
|
|
|
|
|
+ public FileInfo() {
|
|
|
|
|
+ this.storageType = 1;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|