109 lines
3.2 KiB
C#
109 lines
3.2 KiB
C#
using System;
|
|
using System.Xml.Serialization;
|
|
|
|
namespace Aop.Api.Domain
|
|
{
|
|
/// <summary>
|
|
/// PromoVoucherInfo Data Structure.
|
|
/// </summary>
|
|
[Serializable]
|
|
public class PromoVoucherInfo : AopObject
|
|
{
|
|
/// <summary>
|
|
/// 折扣(折扣券类型才有)
|
|
/// </summary>
|
|
[XmlElement("discount")]
|
|
public string Discount { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否是自动领取券
|
|
/// </summary>
|
|
[XmlElement("is_auto_obtain")]
|
|
public string IsAutoObtain { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否是商圈发的券 true/false
|
|
/// </summary>
|
|
[XmlElement("is_mall_voucher")]
|
|
public string IsMallVoucher { get; set; }
|
|
|
|
/// <summary>
|
|
/// 券品牌名称
|
|
/// </summary>
|
|
[XmlElement("item_brand_name")]
|
|
public string ItemBrandName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 券有效期结束时间
|
|
/// </summary>
|
|
[XmlElement("item_gmt_end")]
|
|
public string ItemGmtEnd { get; set; }
|
|
|
|
/// <summary>
|
|
/// 商品有效期开始时间
|
|
/// </summary>
|
|
[XmlElement("item_gmt_start")]
|
|
public string ItemGmtStart { get; set; }
|
|
|
|
/// <summary>
|
|
/// 商品id
|
|
/// </summary>
|
|
[XmlElement("item_id")]
|
|
public string ItemId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 券图片地址
|
|
/// </summary>
|
|
[XmlElement("item_logo")]
|
|
public string ItemLogo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 商品名称
|
|
/// </summary>
|
|
[XmlElement("item_name")]
|
|
public string ItemName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 买a送b 送单品名称
|
|
/// </summary>
|
|
[XmlElement("send_item_name")]
|
|
public string SendItemName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 店铺id
|
|
/// </summary>
|
|
[XmlElement("shop_id")]
|
|
public string ShopId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 店铺名称
|
|
/// </summary>
|
|
[XmlElement("shop_name")]
|
|
public string ShopName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 券使用门槛金额(元)
|
|
/// </summary>
|
|
[XmlElement("use_condition_amount")]
|
|
public string UseConditionAmount { get; set; }
|
|
|
|
/// <summary>
|
|
/// 代金券 减至券 兑换券 换购券 金额
|
|
/// </summary>
|
|
[XmlElement("value_amount")]
|
|
public string ValueAmount { get; set; }
|
|
|
|
/// <summary>
|
|
/// 券跳转地址(h5)
|
|
/// </summary>
|
|
[XmlElement("voucher_detail_url")]
|
|
public string VoucherDetailUrl { get; set; }
|
|
|
|
/// <summary>
|
|
/// DISCOUNT_ALL, // 折扣券(全场) DISCOUNT_SINGLE, // 折扣券(单品) CASH_ALL, // 代金券(全场) CASH_SINGLE, // 代金券(单品) // 以下券全部是单品券 EXCHANGE, // 兑换券(直接兑换,加钱兑换) EXCHANGE_BUY, // 换购券 REDUCE_TO, // 减至券 BUY_SEND_SAME, // 买就送券(买a送a) BUY_SEND_OTHER; // 买就送券(买a送b)
|
|
/// </summary>
|
|
[XmlElement("voucher_type")]
|
|
public string VoucherType { get; set; }
|
|
}
|
|
}
|