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

#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, FromRow)]
pub struct AgentKnowledgeBaseModel {
    pub id: Uuid,
    pub session: Uuid,
    pub title: String,
    pub source_type: String,
    pub source_url: Option<String>,
    pub content: Option<String>,
    pub embedding_ref: Option<String>,
    pub created_by: Uuid,
    pub created_at: DateTime<Utc>,
    pub updated_at: DateTime<Utc>,
    pub deleted_at: Option<DateTime<Utc>>,
}
