package com.example.modifier.model

import com.example.modifier.serializer.LocalDateTimeSerializer
import kotlinx.serialization.Serializable
import java.time.LocalDateTime
import java.util.Date

@Serializable
class TaskItem(
    val id: Int,
    @Serializable(with = LocalDateTimeSerializer::class)
    val createdAt: LocalDateTime,
    val taskId: Int,
    val number: String,
    val message: String,
    val status: String,
    @Serializable(with = LocalDateTimeSerializer::class)
    val sendAt: LocalDateTime?
) {
}