use crate::Request;
use serde::{Deserialize, Serialize};
#[derive(Serialize, Deserialize, Debug, Default)]
pub struct PddStockDepotPriorityList {
#[serde(rename = "province_id")]
pub province_id: Option<i32>,
#[serde(rename = "city_id")]
pub city_id: Option<i32>,
#[serde(rename = "district_id")]
pub district_id: Option<i32>,
#[serde(rename = "depot_code")]
pub depot_code: Option<String>,
#[serde(rename = "page_size")]
pub page_size: Option<i32>,
#[serde(rename = "page_num")]
pub page_num: Option<i32>,
}
impl Request for PddStockDepotPriorityList {
fn get_type() -> String {
"pdd.stock.depot.priority.list".to_string()
}
fn get_response_name() -> String {
"open_api_response".to_string()
}
}