2 Commits ae709dfc7e ... 29acb64617

Author SHA1 Message Date
  liweihao 29acb64617 Fix: folder body other info to data class 5 years ago
  liweihao ae709dfc7e Fix: folder body other info 5 years ago

+ 6 - 6
src/main/java/com/example/kdan_data_center/datacenter/folder/body/UpdateFolderBody.kt

@@ -2,13 +2,13 @@ package com.example.kdan_data_center.datacenter.folder.body
 
 
 data class UpdateFolderBody(
-    val folder_id: Int,
-    val parent_id: Int,
-    val folder_name: String,
-    val other_infos: OtherInfos
+        val folder_id: Int
 ) {
-    
+    var parent_id: Int? = null
+    var folder_name: String? = null
+    var other_infos: OtherInfos? = null
+
     data class OtherInfos(
-        val color: String
+            val color: String
     )
 }