package de.haushalt.app.data

import kotlinx.serialization.Serializable

@Serializable
enum class TaskStatus {
    active,
    done,
    inactive,
    past,
}

@Serializable
data class Task(
    val id: Int? = null,
    val name: String,
    val date: String? = null,
    val status: TaskStatus = TaskStatus.active,
)

@Serializable
data class TaskRequest(
    val name: String,
    val date: String? = null,
    val status: TaskStatus = TaskStatus.active,
)
