using System;
using System.Xml.Serialization;

namespace Aop.Api.Domain
{
    /// <summary>
    /// KoubeiTradeOrderPrecreateModel Data Structure.
    /// </summary>
    [Serializable]
    public class KoubeiTradeOrderPrecreateModel : AopObject
    {
        /// <summary>
        /// 业务类型，当前支持：POST_ORDER_PAY 点餐后付订单支付码生成
        /// </summary>
        [XmlElement("biz_type")]
        public string BizType { get; set; }

        /// <summary>
        /// 外部订单号，即请求方订单的唯一标识。  当biz_type传入POST_ORDER_PAY时，该字段为必选
        /// </summary>
        [XmlElement("out_order_no")]
        public string OutOrderNo { get; set; }

        /// <summary>
        /// 请求id，唯一标识一次请求，根据该字段请求幂等
        /// </summary>
        [XmlElement("request_id")]
        public string RequestId { get; set; }

        /// <summary>
        /// 口碑侧的门店id。  当biz_type传入POST_ORDER_PAY时，该字段为必选
        /// </summary>
        [XmlElement("shop_id")]
        public string ShopId { get; set; }
    }
}
