// file: kb_lib/src/db/entities/db_metadata.rs

//! Metadata table entity.

/// Persisted metadata row.
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize, sqlx::FromRow)]
pub struct DbMetadataEntity {
    /// Metadata key.
    pub key: std::string::String,
    /// Metadata value.
    pub value: std::string::String,
    /// Last update timestamp encoded as RFC3339 UTC text.
    pub updated_at: std::string::String,
}
