|
@@ -1,17 +1,23 @@
|
|
|
package com.gxzc.zen.common.dto
|
|
|
|
|
|
+import java.io.Serializable
|
|
|
+
|
|
|
/**
|
|
|
* 文件DTO
|
|
|
* @author NorthLan
|
|
|
* @date 2018/5/18
|
|
|
* @url https://noahlan.com
|
|
|
*/
|
|
|
-open class ZenFileMetadata {
|
|
|
+open class ZenFileMetadata : Serializable {
|
|
|
+ companion object {
|
|
|
+ private const val serialVersionUID = 1000000000000000015L
|
|
|
+ }
|
|
|
+
|
|
|
var chunkNumber: Int? = null
|
|
|
var chunkSize: Long? = null
|
|
|
-// var currentChunkSize: Long? = null
|
|
|
+ // var currentChunkSize: Long? = null
|
|
|
var totalSize: Long? = null
|
|
|
-// var identifier: String? = null
|
|
|
+ // var identifier: String? = null
|
|
|
var filename: String? = null
|
|
|
var relativePath: String? = null
|
|
|
var totalChunks: Int? = null
|