using System.Collections.Generic;
using System.Text.Json.Serialization;

namespace Essensoft.Paylink.Alipay.Domain
{
    /// <summary>
    /// AlipayCommerceIotDapplyOrderCreateModel Data Structure.
    /// </summary>
    public class AlipayCommerceIotDapplyOrderCreateModel : AlipayObject
    {
        /// <summary>
        /// 申请人联系电话
        /// </summary>
        [JsonPropertyName("applicant_mobile")]
        public string ApplicantMobile { get; set; }

        /// <summary>
        /// 申请人名称
        /// </summary>
        [JsonPropertyName("applicant_name")]
        public string ApplicantName { get; set; }

        /// <summary>
        /// 申请人pid
        /// </summary>
        [JsonPropertyName("applicant_pid")]
        public string ApplicantPid { get; set; }

        /// <summary>
        /// 申请人类型
        /// </summary>
        [JsonPropertyName("applicant_type")]
        public string ApplicantType { get; set; }

        /// <summary>
        /// 申请总数量，order_item_list每个元素apply_amount之和
        /// </summary>
        [JsonPropertyName("apply_amount")]
        public string ApplyAmount { get; set; }

        /// <summary>
        /// 物料申请模式
        /// </summary>
        [JsonPropertyName("asset_apply_type")]
        public string AssetApplyType { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        [JsonPropertyName("creator")]
        public string Creator { get; set; }

        /// <summary>
        /// 订单创建子单集合
        /// </summary>
        [JsonPropertyName("device_apply_order_item_models")]
        public List<DeviceApplyOrderItemDto> DeviceApplyOrderItemModels { get; set; }

        /// <summary>
        /// 扩展字段，JSON字符串
        /// </summary>
        [JsonPropertyName("ext_info")]
        public string ExtInfo { get; set; }

        /// <summary>
        /// 物料商品ID
        /// </summary>
        [JsonPropertyName("item_mall_id")]
        public string ItemMallId { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [JsonPropertyName("memo")]
        public string Memo { get; set; }

        /// <summary>
        /// 商户名称
        /// </summary>
        [JsonPropertyName("merchant_name")]
        public string MerchantName { get; set; }

        /// <summary>
        /// 商户pid
        /// </summary>
        [JsonPropertyName("merchant_pid")]
        public string MerchantPid { get; set; }

        /// <summary>
        /// 行业场景
        /// </summary>
        [JsonPropertyName("scene_code")]
        public string SceneCode { get; set; }

        /// <summary>
        /// 行业场景名称
        /// </summary>
        [JsonPropertyName("scene_name")]
        public string SceneName { get; set; }

        /// <summary>
        /// 店铺Id
        /// </summary>
        [JsonPropertyName("shop_id")]
        public string ShopId { get; set; }

        /// <summary>
        /// 店铺名称
        /// </summary>
        [JsonPropertyName("shop_name")]
        public string ShopName { get; set; }

        /// <summary>
        /// 来源渠道, 供应商系统为：DSUPPLIER
        /// </summary>
        [JsonPropertyName("source_code")]
        public string SourceCode { get; set; }
    }
}
