use chrono::{DateTime, Utc};
use serde::Serialize;
use sqlx::FromRow;
use uuid::Uuid;
#[derive(Debug, Clone, Serialize, FromRow)]
pub struct Document {
pub id: Uuid,
pub title: String,
pub source_type: String,
pub raw_text: String,
pub status: String,
pub created_at: DateTime<Utc>,
}
#[derive(Debug, Clone, Serialize, FromRow)]
pub struct DocumentSummary {
pub id: Uuid,
pub title: String,
pub source_type: String,
pub status: String,
pub created_at: DateTime<Utc>,
}