use chrono::Utc;

#[derive(Debug, Clone)]
pub struct AuditEntry {
    pub skill_id: String,
    pub decision: String,
    pub timestamp: String,
}

impl AuditEntry {
    pub fn new(skill_id: &str, decision: &str) -> Self {
        Self {
            skill_id: skill_id.to_string(),
            decision: decision.to_string(),
            timestamp: Utc::now().to_rfc3339(),
        }
    }
}
