Files
juipnet/Infrastructure/ServiceClient/Alipay.AopSdk.Core/Domain/BenefitGradeConfig.cs
“wanyongkang” ed3b2c653e 接口文件
2024-04-10 13:55:27 +08:00

48 lines
1.2 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>
/// BenefitGradeConfig Data Structure.
/// </summary>
[Serializable]
public class BenefitGradeConfig : AopObject
{
/// <summary>
/// 权益背景图片地址若没有可以先mock一个地址进行填写
/// </summary>
[JsonProperty("background_url")]
public string BackgroundUrl { get; set; }
/// <summary>
/// 该等级下权益的介绍
/// </summary>
[JsonProperty("detail")]
public string Detail { get; set; }
/// <summary>
/// 用户等级差异化时可填primary、golden、platinum、diamond非差异化时可填common
/// </summary>
[JsonProperty("grade")]
public string Grade { get; set; }
/// <summary>
/// 权益关联的活动页面
/// </summary>
[JsonProperty("page_url")]
public string PageUrl { get; set; }
/// <summary>
/// 当前等级兑换权益所需要消耗的积分
/// </summary>
[JsonProperty("point")]
public long Point { get; set; }
/// <summary>
/// 该等级兑换权益时,消耗的积分需要乘以配置的这个折扣,进行优惠
/// </summary>
[JsonProperty("point_discount")]
public string PointDiscount { get; set; }
}
}