30 lines
763 B
C#
30 lines
763 B
C#
using System;
|
||
using Newtonsoft.Json;
|
||
|
||
namespace Alipay.AopSdk.Core.Domain
|
||
{
|
||
/// <summary>
|
||
/// DiscountRandomModel Data Structure.
|
||
/// </summary>
|
||
[Serializable]
|
||
public class DiscountRandomModel : AopObject
|
||
{
|
||
/// <summary>
|
||
/// 最高优惠金额
|
||
/// </summary>
|
||
[JsonProperty("max_amount")]
|
||
public string MaxAmount { get; set; }
|
||
|
||
/// <summary>
|
||
/// 最低优惠金额
|
||
/// </summary>
|
||
[JsonProperty("min_amount")]
|
||
public string MinAmount { get; set; }
|
||
|
||
/// <summary>
|
||
/// 概率 金额区间、占比支持小数点后两位 区间为前闭、后闭,最多可以设置10种金额区间,所有区间占比和需要等于100%
|
||
/// </summary>
|
||
[JsonProperty("probability")]
|
||
public string Probability { get; set; }
|
||
}
|
||
} |