#![cfg_attr(docsrs, feature(doc_cfg))]

use tosql::ToSql;

#[derive(Debug, ToSql)]
pub struct Domain {
  pub id: u64,
  pub name: String,
  pub state: i8, // -1: rm ; 0: inactive ; 1: active
}

#[derive(Debug, ToSql)]
pub struct SiteOwner {
  pub id: u64,
  pub user_id: u64,
}

#[derive(Debug, ToSql)]
pub struct SiteAdmin {
  pub id: u64,
  pub user_id: u64,
  pub state: i8, // -1: rm ; 0: inactive ; 1: active
}

mod site_log;
pub use site_log::*;
