diff --git a/composeApp/src/commonMain/kotlin/com/example/mycrib/models/CustomTask.kt b/composeApp/src/commonMain/kotlin/com/example/mycrib/models/CustomTask.kt index 499e06c..6a51ae6 100644 --- a/composeApp/src/commonMain/kotlin/com/example/mycrib/models/CustomTask.kt +++ b/composeApp/src/commonMain/kotlin/com/example/mycrib/models/CustomTask.kt @@ -11,12 +11,15 @@ data class CustomTask ( @SerialName("created_by_username") val createdByUsername: String, val title: String, val description: String? = null, - val category: String, - val priority: String, - val status: String? = null, + val category: TaskCategory?, + val frequency: TaskFrequency, + val priority: TaskPriority, + val status: TaskStatus? = null, @SerialName("due_date") val dueDate: String?, + @SerialName("next_scheduled_date") val nextScheduledDate: String? = null, @SerialName("estimated_cost") val estimatedCost: String? = null, @SerialName("actual_cost") val actualCost: String? = null, + @SerialName("completion_count") val completionCount: Int? = null, val notes: String? = null, val archived: Boolean = false, @SerialName("created_at") val createdAt: String,