zsgf-client 1.0.24

zsgf 客户端库。
Documentation
/*
 * 全部  API 文档
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: v1
 * 
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CreateOrderResult {
    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
    pub id: Option<i64>,
    #[serde(rename = "orderNo", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub order_no: Option<Option<String>>,
}

impl CreateOrderResult {
    pub fn new() -> CreateOrderResult {
        CreateOrderResult {
            id: None,
            order_no: None,
        }
    }
}