2 Коміти ae709dfc7e ... 29acb64617

Автор SHA1 Опис Дата
  liweihao 29acb64617 Fix: folder body other info to data class 5 роки тому
  liweihao ae709dfc7e Fix: folder body other info 5 роки тому

+ 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
     )
 }