using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// /// VoucherRec Data Structure. /// [Serializable] public class VoucherRec : AopObject { /// /// 总收藏量 /// [XmlElement("all_keep_count")] public string AllKeepCount { get; set; } /// /// 判断券的类型 /// [XmlElement("code")] public string Code { get; set; } /// /// 头图 /// [XmlElement("cover")] public string Cover { get; set; } /// /// 人群 /// [XmlElement("crowds")] public string Crowds { get; set; } /// /// 折扣券的折扣力度 /// [XmlElement("discount")] public string Discount { get; set; } /// /// 扩展信息 /// [XmlElement("ext_info")] public string ExtInfo { get; set; } /// /// 是否有面向人群 /// [XmlElement("has_crowd")] public string HasCrowd { get; set; } /// /// 是否自动领取券 /// [XmlElement("is_auto_obtain")] public string IsAutoObtain { get; set; } /// /// 是否是商圈发的券 /// [XmlElement("is_mall_voucher")] public string IsMallVoucher { get; set; } /// /// 券品牌名称 /// [XmlElement("item_brand_name")] public string ItemBrandName { get; set; } /// /// 券有效期结束时间 /// [XmlElement("item_gmt_end")] public string ItemGmtEnd { get; set; } /// /// 券有效期开始时间 /// [XmlElement("item_gmt_start")] public string ItemGmtStart { get; set; } /// /// 券id /// [XmlElement("item_id")] public string ItemId { get; set; } /// /// 券名称 /// [XmlElement("item_name")] public string ItemName { get; set; } /// /// 总量 /// [XmlElement("item_quantity")] public string ItemQuantity { get; set; } /// /// 销售模式 /// [XmlElement("item_sales_mode")] public string ItemSalesMode { get; set; } /// /// 销量 /// [XmlElement("item_sold_quantity")] public string ItemSoldQuantity { get; set; } /// /// 原价 /// [XmlElement("original_amount")] public string OriginalAmount { get; set; } /// /// 每满threshold_amount元减perValueAmount元,封顶valueAmount元 /// [XmlElement("per_value_amount")] public string PerValueAmount { get; set; } /// /// 泛行业商品详情图片 /// [XmlElement("picture_details")] public string PictureDetails { get; set; } /// /// 价格浮动模式 /// [XmlElement("price_mode")] public string PriceMode { get; set; } /// /// 券领取类型 /// [XmlElement("purchase_mode")] public string PurchaseMode { get; set; } /// /// 送单品名称 /// [XmlElement("send_item_name")] public string SendItemName { get; set; } /// /// 店铺id /// [XmlElement("shop_id")] public string ShopId { get; set; } /// /// 店铺名称 /// [XmlElement("shop_name")] public string ShopName { get; set; } /// /// 满N元可优惠 /// [XmlElement("threshold_amount")] public string ThresholdAmount { get; set; } /// /// 使用门槛 /// [XmlElement("use_condition_amount")] public string UseConditionAmount { get; set; } /// /// 券使用的有效时间 /// [XmlElement("valid_times")] public string ValidTimes { get; set; } /// /// 金额 /// [XmlElement("value_amount")] public string ValueAmount { get; set; } /// /// 券的跳转地址 /// [XmlElement("voucher_detail_url")] public string VoucherDetailUrl { get; set; } /// /// 券地址 /// [XmlElement("voucher_logo_url")] public string VoucherLogoUrl { get; set; } /// /// DISCOUNT_ALL 折扣券(全场) DISCOUNT_SINGLE 折扣券(单品) CASH_ALL 代金券(全场) CASH_SINGLE 金券(单品) 以下券全部是单品券: EXCHANGE 兑换券(直接兑换, 加钱兑换) EXCHANGE_BUY 换购券 REDUCE_TO 减至券 BUY_SEND_SAME 买就送券(买a送a) BUY_SEND_OTHER 买就送券(买a送b) /// [XmlElement("voucher_type")] public string VoucherType { get; set; } } }