56 lines
1.3 KiB
C#
56 lines
1.3 KiB
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using Newtonsoft.Json;
|
|||
|
|
|
|||
|
|
namespace Alipay.AopSdk.Core.Domain
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// KbAdvertSubjectVoucher Data Structure.
|
|||
|
|
/// </summary>
|
|||
|
|
[Serializable]
|
|||
|
|
public class KbAdvertSubjectVoucher : AopObject
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 品牌名称(支持模糊匹配)
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("brand_name")]
|
|||
|
|
public string BrandName { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 适用城市(命中一个即可搜出)
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("city_ids")]
|
|||
|
|
|
|||
|
|
public List<string> CityIds { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 商家名称(支持模糊匹配)
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("merchant_name")]
|
|||
|
|
public string MerchantName { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// OBTAIN:认领(默认值) BUY:购买
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("purchase_mode")]
|
|||
|
|
public string PurchaseMode { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 券ID
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("voucher_id")]
|
|||
|
|
public string VoucherId { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 券名称(支持模糊匹配)
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("voucher_name")]
|
|||
|
|
public string VoucherName { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 券类型 LIMIT-单品券 NO_LIMIT_DISCOUNT-全场折扣券 NO_LIMIT_CASH-全场代金券
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("voucher_type")]
|
|||
|
|
public string VoucherType { get; set; }
|
|||
|
|
}
|
|||
|
|
}
|