Files
juipnet/Infrastructure/ServiceClient/Alipay.AopSdk.Core/Domain/PromoTool.cs

42 lines
1.1 KiB
C#
Raw Normal View History

2020-10-07 20:25:03 +08:00
using System;
using Newtonsoft.Json;
namespace Alipay.AopSdk.Core.Domain
{
/// <summary>
/// PromoTool Data Structure.
/// </summary>
[Serializable]
public class PromoTool : AopObject
{
/// <summary>
/// 集点卡工具仅在活动类型为POINT_SEND时才有效且必填其他活动类型此字段必须为null
/// </summary>
[JsonProperty("point_card")]
public PointCard PointCard { get; set; }
/// <summary>
/// 奖品发放的规则
/// </summary>
[JsonProperty("send_rule")]
public SendRule SendRule { get; set; }
/// <summary>
/// 单个营销工具的生效状态,当在招商部分券失效后会使用这个字段
/// </summary>
[JsonProperty("status")]
public string Status { get; set; }
/// <summary>
/// 券对象当活动类型为POINT_SEND时为null其他活动类型此字段必填
/// </summary>
[JsonProperty("voucher")]
public Voucher Voucher { get; set; }
/// <summary>
/// 营销工具uid,创建营销活动时无需设置
/// </summary>
[JsonProperty("voucher_no")]
public string VoucherNo { get; set; }
}
}