using System; using System.Xml.Serialization; using System.Collections.Generic; namespace Aop.Api.Domain { /// /// AntMerchantExpandItemCreateModel Data Structure. /// [Serializable] public class AntMerchantExpandItemCreateModel : AopObject { /// /// 详情地址 /// [XmlElement("detail_url")] public string DetailUrl { get; set; } /// /// 商品扩展信息:可以解析成 Map 的 json string /// [XmlElement("ext_info")] public string ExtInfo { get; set; } /// /// 外部商品ID /// [XmlElement("external_item_id")] public string ExternalItemId { get; set; } /// /// 前台类目id:target_type + target_id 和 front_category_id 二选一 /// [XmlElement("front_category_id")] public string FrontCategoryId { get; set; } /// /// 商品标签列表 /// [XmlArray("label_list")] [XmlArrayItem("item_label_create_info")] public List LabelList { get; set; } /// /// 主图地址 /// [XmlElement("main_pic")] public string MainPic { get; set; } /// /// 商品名称 /// [XmlElement("name")] public string Name { get; set; } /// /// 场景:GAS_CHARGE(加油) /// [XmlElement("scene")] public string Scene { get; set; } /// /// 商品sku列表,至少有一个 /// [XmlArray("sku_list")] [XmlArrayItem("item_sku_create_info")] public List SkuList { get; set; } /// /// 商户归属主体id /// [XmlElement("target_id")] public string TargetId { get; set; } /// /// 商品归属主体类型:target_type + target_id 和 front_category_id 二选一 商品归属主体类型: 5: 店铺 4: 主站MID 3: 参与者 2: 角色 1: 联系人 /// [XmlElement("target_type")] public string TargetType { get; set; } } }