Browse Source

Fix: change folder info data size and version column to long field

liweihao 5 years ago
parent
commit
f1def6e50e

+ 2 - 2
src/main/java/com/example/kdan_data_center/datacenter/folder/data/FolderInfoData.kt

@@ -33,12 +33,12 @@ data class FolderInfoData(
                 @SerializedName("app_id") val appId: Int,
                 @SerializedName("project_id") val projectId: String,
                 @SerializedName("url") val url: String?,
-                @SerializedName("size") val size: Int,
+                @SerializedName("size") val size: Long,
                 @SerializedName("created_at") val createdAt: String,
                 @SerializedName("updated_at") val updatedAt: String,
                 @SerializedName("project_name") val projectName: String,
                 @SerializedName("project_created_at") val projectCreatedAt: String?,
-                @SerializedName("version") val version: Int?,
+                @SerializedName("version") val version: Long?,
                 @SerializedName("cover_name") val coverName: String?,
                 @SerializedName("app_foreign_id") val appForeignId: Int,
                 @SerializedName("category") val category: String?,