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

#[derive(FromRow, Debug)]
pub struct DbUserUidRow {
    pub uid: i32,
    pub account_uid: String,
    pub ext: String,
}

#[derive(FromRow, Debug)]
pub struct DbPlayerDataRow {
    pub uid: i32,
    pub bin_data: Vec<u8>,
}

#[derive(Serialize, Deserialize)]
pub struct PlayerExtJsonData {
    pub reg_platform: u32,
}
