using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// /// PromotionInfo Data Structure. /// [Serializable] public class PromotionInfo : AopObject { /// /// 优惠品牌 /// [XmlElement("brand_name")] public string BrandName { get; set; } /// /// 优惠是否已领取 /// [XmlElement("collected")] public bool Collected { get; set; } /// /// 优惠领取总数 /// [XmlElement("collected_count")] public long CollectedCount { get; set; } /// /// 优惠详情页跳转链接 /// [XmlElement("detail_url")] public string DetailUrl { get; set; } /// /// 优惠类型图标,惠折满减等 /// [XmlElement("icon_url")] public string IconUrl { get; set; } /// /// 优惠头图 /// [XmlElement("main_image_url")] public string MainImageUrl { get; set; } /// /// 券平台领券成功的券id /// [XmlElement("out_prize_id")] public string OutPrizeId { get; set; } /// /// 优惠ID /// [XmlElement("promotion_id")] public string PromotionId { get; set; } /// /// 优惠标题 /// [XmlElement("title")] public string Title { get; set; } /// /// 使用条件说明 /// [XmlElement("using_condition")] public string UsingCondition { get; set; } /// /// 使用范围说明 /// [XmlElement("using_scope")] public string UsingScope { get; set; } /// /// 优惠有效期起:格式yyyy-mm-dd,如"2017-07-18" /// [XmlElement("valid_date_from")] public string ValidDateFrom { get; set; } /// /// 优惠有效期止:格式yyyy-mm-dd,如"2017-07-18" /// [XmlElement("valid_date_to")] public string ValidDateTo { get; set; } /// /// 相对有效期展示文案,当valid_date_from及valid_date_to为空时,此字段必然有值 /// [XmlElement("valid_time_text")] public string ValidTimeText { get; set; } /// /// 券使用状态(已领取可使用COLLECTED_UNUSE/未领取UNCOLLECT/已使用USED) /// [XmlElement("voucher_usage_status")] public string VoucherUsageStatus { get; set; } } }