use chrono::{DateTime, Utc};
use serde::{Deserialize, Serialize};

#[derive(Debug, Serialize, Deserialize)]
pub struct Alliance {
  pub creator_corporation_id: i32,
  pub creator_id: i32,
  pub date_founded: DateTime<Utc>,
  pub executor_corporation_id: Option<i32>,
  pub faction_id: Option<i32>,
  pub name: String,
  pub ticker: String,
}

#[derive(Debug, Serialize, Deserialize)]
pub struct AllianceIcon {
  pub px128x128: String,
  pub px64x64: String,
}
