pub mod system {
pub const DEFAULT_PAGE_NUM: u32 = 1;
pub const DEFAULT_PAGE_SIZE: u32 = 10;
pub const MAX_PAGE_SIZE: u32 = 100;
}
pub mod security {
pub const DEFAULT_HASH_ITERATIONS: u32 = 10;
pub const TOKEN_EXPIRE_HOURS: i64 = 24;
pub const REFRESH_TOKEN_EXPIRE_DAYS: i64 = 30;
}
pub mod time {
pub const SECONDS_PER_MINUTE: i64 = 60;
pub const SECONDS_PER_HOUR: i64 = 3600;
pub const SECONDS_PER_DAY: i64 = 86400;
pub const SECONDS_PER_WEEK: i64 = 604800;
}
pub mod strings {
pub const EMPTY: &str = "";
pub const COMMA: &str = ",";
pub const DOT: &str = ".";
pub const UNDERSCORE: &str = "_";
pub const SLASH: &str = "/";
pub const HYPHEN: &str = "-";
}
pub mod http {
pub const BEARER_PREFIX: &str = "Bearer ";
pub const BASIC_PREFIX: &str = "Basic ";
pub const AUTHORIZATION: &str = "Authorization";
pub const CONTENT_TYPE: &str = "Content-Type";
pub const CONTENT_TYPE_JSON: &str = "application/json";
pub const CONTENT_TYPE_FORM: &str = "application/x-www-form-urlencoded";
}