use std::collections::BTreeMap;
use aa_core::identity::AgentId;
use chrono::{DateTime, Utc};
pub type TeamId = String;
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct AgentRecord {
pub agent_id: AgentId,
pub team_id: Option<TeamId>,
pub org_id: Option<String>,
pub metadata: BTreeMap<String, String>,
pub registered_at: DateTime<Utc>,
pub last_seen_at: DateTime<Utc>,
pub enforcement_mode: String,
}
#[derive(Debug, Clone, Default)]
pub struct AgentFilter {
pub team_id: Option<TeamId>,
pub org_id: Option<String>,
pub name_contains: Option<String>,
pub limit: Option<u32>,
pub offset: Option<u32>,
}