Files
juipnet/Infrastructure/ServiceClient/Alipay.AopSdk.Core/Domain/SendRule.cs
wanyongkang d318014316 初始提交
2020-10-07 20:25:03 +08:00

36 lines
1.3 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System;
using Newtonsoft.Json;
namespace Alipay.AopSdk.Core.Domain
{
/// <summary>
/// SendRule Data Structure.
/// </summary>
[Serializable]
public class SendRule : AopObject
{
/// <summary>
/// 是否允许重复发奖: true代表允许false代表不允许 默认不设置,表明用户领取券后如果没有核销则不允许再次领取券 如果设置为true表明如果用户领取券后没有核销还可以继续领取该券
/// </summary>
[JsonProperty("allow_repeat_send")]
public string AllowRepeatSend { get; set; }
/// <summary>
/// 发券最低消费金额,单位元 活动类型为消费送且不是消费送礼包时设置 多营销工具之间不允许设置重复值
/// </summary>
[JsonProperty("min_cost")]
public string MinCost { get; set; }
/// <summary>
/// 券的预算数量仅对口令送随机抽奖有效即当活动类型为GUESS_SEND且营销工具PromoTool的个数大于1时此字段必填其余情况此字段必为空
/// </summary>
[JsonProperty("send_budget")]
public string SendBudget { get; set; }
/// <summary>
/// 发券数目 最少发1张券最多发5张券
/// </summary>
[JsonProperty("send_num")]
public string SendNum { get; set; }
}
}