use chrono::{DateTime, Utc}; use serde::{Deserialize, Serialize}; use sqlx::FromRow; use uuid::Uuid; #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, FromRow)] pub struct UserAppNotifyModel { pub id: Uuid, pub user: Uuid, pub title: String, pub body: String, pub notify_type: String, pub target_type: Option, pub target_id: Option, pub metadata: Option, pub read_at: Option>, pub archived_at: Option>, pub created_at: DateTime, pub updated_at: DateTime, }