using System;
using System.Xml.Serialization;
using System.Collections.Generic;

namespace Aop.Api.Domain
{
    /// <summary>
    /// AlipayDataDataserviceAdPrincipalCreateormodifyModel Data Structure.
    /// </summary>
    [Serializable]
    public class AlipayDataDataserviceAdPrincipalCreateormodifyModel : AopObject
    {
        /// <summary>
        /// 商家支付宝PID，新增商家时必填
        /// </summary>
        [XmlElement("alipay_pid")]
        public string AlipayPid { get; set; }

        /// <summary>
        /// 商家的全量资质列表，用于商家资质资质审核
        /// </summary>
        [XmlArray("attachment_list")]
        [XmlArrayItem("outer_attachment")]
        public List<OuterAttachment> AttachmentList { get; set; }

        /// <summary>
        /// 灯火平台提供给外部系统的访问token
        /// </summary>
        [XmlElement("biz_token")]
        public string BizToken { get; set; }

        /// <summary>
        /// 商家id，修改商家时必填
        /// </summary>
        [XmlElement("principal_id")]
        public long PrincipalId { get; set; }

        /// <summary>
        /// 二级行业ID
        /// </summary>
        [XmlElement("trade_id")]
        public string TradeId { get; set; }

        /// <summary>
        /// 投放账户id，新增商家时必填
        /// </summary>
        [XmlElement("user_id")]
        public long UserId { get; set; }
    }
}
