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

30 lines
763 B
C#
Raw Normal View History

2024-04-10 13:55:27 +08:00
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; }
}
}