using System; using System.Xml.Serialization; using System.Collections.Generic; namespace Aop.Api.Domain { /// /// AntMerchantExpandItemModifyModel Data Structure. /// [Serializable] public class AntMerchantExpandItemModifyModel : AopObject { /// /// 商品详情地址 /// [XmlElement("detail_url")] public string DetailUrl { get; set; } /// /// 商品扩展信息:可以解析成 Map 的 json string /// [XmlElement("ext_info")] public string ExtInfo { get; set; } /// /// 外部商品ID(item_id不为空时作为普通更新项,item_id为空时作为更新KEY) /// [XmlElement("external_item_id")] public string ExternalItemId { get; set; } /// /// 前台类目id, null表示未分类 /// [XmlElement("front_category_id")] public string FrontCategoryId { get; set; } /// /// 商品id(和external_item_id不能同时为空) /// [XmlElement("item_id")] public string ItemId { get; set; } /// /// 商品标签列表,null表示不修改标签列表,空list表示清空标签 /// [XmlArray("label_list")] [XmlArrayItem("item_label_modify_info")] public List LabelList { get; set; } /// /// 商品主图 /// [XmlElement("main_pic")] public string MainPic { get; set; } /// /// 商品名称 /// [XmlElement("name")] public string Name { get; set; } /// /// 更新时间戳(只处理时间戳最大的一次请求) /// [XmlElement("op_timestamp")] public long OpTimestamp { get; set; } /// /// 场景:GAS_CHARGE(加油) /// [XmlElement("scene")] public string Scene { get; set; } /// /// SKU列表(会和商品已存在SKU做差异化比较后做增删改操作) /// [XmlArray("sku_list")] [XmlArrayItem("item_sku_modify_info")] public List SkuList { get; set; } /// /// 商品状态: EFFECT(有效)、 INVALID(无效) /// [XmlElement("status")] public string Status { get; set; } } }