using System.Text.Json.Serialization;

namespace Essensoft.Paylink.Alipay.Domain
{
    /// <summary>
    /// OutboundOrder Data Structure.
    /// </summary>
    public class OutboundOrder : AlipayObject
    {
        /// <summary>
        /// 扩展字段，json格式
        /// </summary>
        [JsonPropertyName("ext_info")]
        public string ExtInfo { get; set; }

        /// <summary>
        /// 外部业务单号
        /// </summary>
        [JsonPropertyName("out_biz_no")]
        public string OutBizNo { get; set; }

        /// <summary>
        /// 出库业务类型，CGCK=采购出库，DDCK=订单出库，PDCK=盘点出库
        /// </summary>
        [JsonPropertyName("outbound_type")]
        public string OutboundType { get; set; }

        /// <summary>
        /// 收货人信息（商家采购必须传，其他订单类型非必传）
        /// </summary>
        [JsonPropertyName("receiver_info_vo")]
        public ReceiverInfoVO ReceiverInfoVo { get; set; }

        /// <summary>
        /// 备注信息。
        /// </summary>
        [JsonPropertyName("remark")]
        public string Remark { get; set; }

        /// <summary>
        /// 发货人信息
        /// </summary>
        [JsonPropertyName("sender_info_vo")]
        public SenderInfoVO SenderInfoVo { get; set; }

        /// <summary>
        /// 仓库编号
        /// </summary>
        [JsonPropertyName("warehouse_code")]
        public string WarehouseCode { get; set; }
    }
}
