From aebb7d7127e0831379f82a8ee4a23fc2fef73044 Mon Sep 17 00:00:00 2001 From: Cutiful <113351087+Syaroful@users.noreply.github.com> Date: Thu, 10 Jul 2025 18:17:29 +0700 Subject: [PATCH] feat: add clustering response model --- .../data/model/ClusteringResponse.kt | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 agrilinkvocpro/growth_recipe_feature/src/main/java/com/syaroful/agrilinkvocpro/growth_recipe_feature/data/model/ClusteringResponse.kt diff --git a/agrilinkvocpro/growth_recipe_feature/src/main/java/com/syaroful/agrilinkvocpro/growth_recipe_feature/data/model/ClusteringResponse.kt b/agrilinkvocpro/growth_recipe_feature/src/main/java/com/syaroful/agrilinkvocpro/growth_recipe_feature/data/model/ClusteringResponse.kt new file mode 100644 index 0000000..ecc2a06 --- /dev/null +++ b/agrilinkvocpro/growth_recipe_feature/src/main/java/com/syaroful/agrilinkvocpro/growth_recipe_feature/data/model/ClusteringResponse.kt @@ -0,0 +1,35 @@ +package com.syaroful.agrilinkvocpro.growth_recipe_feature.data.model + +import com.google.gson.annotations.SerializedName + +data class ClusteringResponse( + @SerializedName("Cluster") + val cluster: Int, + + @SerializedName("Jam") + val jam: String, + + @SerializedName("Rekomendasi") + val rekomendasi: String, + + @SerializedName("Rekomendasi Perawatan") + val rekomendasiPerawatan: String, + + @SerializedName("Tanggal") + val tanggal: String, + + @SerializedName("created_at") + val createdAt: String, + + @SerializedName("humidity") + val humidity: Double, + + @SerializedName("ph") + val ph: Double, + + @SerializedName("sensor_id") + val sensorId: Int, + + @SerializedName("temperature") + val temperature: Double +) \ No newline at end of file