package com.a2i.forwarder.model

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

@Serializable
data class BarkMessage(
    @SerialName("device_key") val deviceKey: String,
    val body: String,
    val title: String? = null,
    val subtitle: String? = null,
    val level: String? = null,           // active / timeSensitive / critical / passive
    val badge: Int? = null,
    @SerialName("autoCopy") val autoCopy: String? = null,   // "1" = 收到即复制
    val copy: String? = null,            // 复制内容
    val sound: String? = null,
    val icon: String? = null,            // 公网图片 URL
    val group: String? = null,
    val url: String? = null,             // 点击跳转
    @SerialName("isArchive") val isArchive: String? = null, // "1" = 归档
    val action: String? = null,
)
