using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// /// ShopDiscountInfo Data Structure. /// [Serializable] public class ShopDiscountInfo : AopObject { /// /// 图片url /// [XmlElement("cover")] public string Cover { get; set; } /// /// 优惠信息描述 /// [XmlElement("description")] public string Description { get; set; } /// /// 是否全场。 全场:Y,单品:N /// [XmlElement("is_all")] public string IsAll { get; set; } /// /// 支付宝商品id /// [XmlElement("item_id")] public string ItemId { get; set; } /// /// 子类型 /// [XmlElement("promo_sub_type")] public string PromoSubType { get; set; } /// /// 优惠类型。 优惠:discount 商品:item /// [XmlElement("promotion_type")] public string PromotionType { get; set; } /// /// 领用模式。自动领用:AUTO_OBTAIN。手动领用:OBTAIN /// [XmlElement("purchase_mode")] public string PurchaseMode { get; set; } /// /// 已用数量 /// [XmlElement("sales_quantity")] public string SalesQuantity { get; set; } /// /// 优惠信息标题 /// [XmlElement("subject")] public string Subject { get; set; } } }