30 lines
596 B
Rust
30 lines
596 B
Rust
use serde::{Deserialize, Serialize};
|
|
|
|
#[derive(Serialize, Deserialize, Debug)]
|
|
pub struct Vendor {
|
|
pub id: i64,
|
|
pub company_id: i64,
|
|
pub vendor_id: i64,
|
|
pub max_bet_casino: f64,
|
|
pub max_bet_slot: f64,
|
|
pub is_enable: String,
|
|
pub bet_count: i64,
|
|
pub key: String,
|
|
pub name: String,
|
|
pub category: String,
|
|
}
|
|
|
|
pub struct ListVendorsRequest {}
|
|
|
|
#[derive(Serialize, Deserialize, Debug)]
|
|
pub struct _ListVendorsResponse {
|
|
pub code: i64,
|
|
pub msg: Option<String>,
|
|
pub vendors: Option<Vec<Vendor>>,
|
|
}
|
|
|
|
#[derive(Debug)]
|
|
pub struct ListVendorsResponse {
|
|
pub vendors: Vec<Vendor>,
|
|
}
|