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