use chrono::{DateTime, Utc}; use serde::{Deserialize, Serialize}; use sqlx::FromRow; use uuid::Uuid; #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, FromRow)] pub struct RepoAuditLogModel { pub id: Uuid, pub repo: Uuid, pub actor: Option, pub action: String, pub target_type: String, pub target_id: Option, pub ip_address: Option, pub user_agent: Option, pub metadata: Option, pub created_at: DateTime, }