package com.example.elva.data.remote.model

import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
data class CreateAlertRequest(
    @SerialName("alert_type") val alertType: String,
    val latitude: Double,
    val longitude: Double,
    val address: String,
    val message: String,
    @SerialName("contact_emergency_services") val contactEmergencyServices: Boolean = true,
    @SerialName("notify_emergency_contacts") val notifyEmergencyContacts: Boolean = true
)

@Serializable
data class AlertDto(
    val id: String? = null,
    @SerialName("alert_type") val alertType: String? = null,
    val address: String? = null,
    val message: String? = null,
    @SerialName("created_at") val createdAt: String? = null,
    @SerialName("is_resolved") val isResolved: Boolean? = null
)

