use serde::{Deserialize, Serialize};
use sqlx::FromRow;

#[derive(Debug, Serialize, Deserialize, FromRow)]
#[serde(rename_all = "PascalCase")]
#[sqlx(rename_all = "PascalCase")]
pub struct HuntingGroundInfo {
    #[sqlx(rename = "Index")]
    pub index: i64,
    #[sqlx(rename = "Uid")]
    pub uid: i64,
    #[sqlx(rename = "IsAuto")]
    pub is_auto: Option<bool>,
    #[sqlx(rename = "CurrentId")]
    pub current_id: Option<i32>,
    #[sqlx(rename = "HighestId")]
    pub highest_id: Option<i32>,
    #[sqlx(rename = "MonsterInfoIndex")]
    pub monster_info_index: Option<i32>,
    #[sqlx(rename = "PackId")]
    pub pack_id: Option<i32>,
}
