using System; using System.Xml.Serialization; using System.Collections.Generic; namespace Aop.Api.Domain { /// /// PrizeModel Data Structure. /// [Serializable] public class PrizeModel : AopObject { /// /// 生效时间 /// [XmlElement("active_time")] public string ActiveTime { get; set; } /// /// 可用金额,单位元,精度分 /// [XmlElement("available_amount")] public string AvailableAmount { get; set; } /// /// 可用次数,大于1为可找零红包,等于1为不找零红包 /// [XmlElement("available_count")] public long AvailableCount { get; set; } /// /// 奖品描述 /// [XmlElement("description")] public string Description { get; set; } /// /// 按天折扣信息 /// [XmlArray("discount_by_day_list")] [XmlArrayItem("discount_by_day_model")] public List DiscountByDayList { get; set; } /// /// 分期和整笔折扣信息 /// [XmlArray("discount_list")] [XmlArrayItem("discount_model")] public List DiscountList { get; set; } /// /// 失效时间 /// [XmlElement("expired_time")] public string ExpiredTime { get; set; } /// /// 扩展信息,JSON结构 /// [XmlElement("ext_info")] public string ExtInfo { get; set; } /// /// 奖品名称 /// [XmlElement("name")] public string Name { get; set; } /// /// 奖品的复合ID /// [XmlElement("prize_id")] public string PrizeId { get; set; } /// /// 奖品状态 VALID 可使用 EXPIRED 已过期 ALL_USED 全部使用完 /// [XmlElement("status")] public string Status { get; set; } /// /// 总金额,单位元,精度分 /// [XmlElement("total_amount")] public string TotalAmount { get; set; } /// /// 奖品类型 DISCOUNT_VOUCHER 利率打折卡券 COUPON_VOUCHER 利息红包卡券 DISCOUNT_CAMP 实时优惠活动 /// [XmlElement("type")] public string Type { get; set; } /// /// 已使用次数 /// [XmlElement("used_count")] public long UsedCount { get; set; } } }