use chrono::{DateTime, Utc};
use serde::{Deserialize, Serialize};
use sqlx::FromRow;
use uuid::Uuid;

#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, FromRow)]
pub struct AgentConversationModel {
    pub id: Uuid,
    pub session: Uuid,
    pub title: String,
    pub created_by: Uuid,
    pub last_message_at: Option<DateTime<Utc>>,
    pub archived_at: Option<DateTime<Utc>>,
    pub compacted_summary: Option<String>,
    pub created_at: DateTime<Utc>,
    pub updated_at: DateTime<Utc>,
    pub deleted_at: Option<DateTime<Utc>>,
}
