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

30 lines
936 B
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>
/// UseTime Data Structure.
/// </summary>
[Serializable]
public class UseTime : AopObject
{
/// <summary>
/// 券可用时段时间维度,目前支持周(W)
/// </summary>
[JsonProperty("dimension")]
public string Dimension { get; set; }
/// <summary>
/// 券可用时间段 可用时间段起止时间用逗号分隔,多个时间段之间用^分隔 如, "16:00:00,20:00:00^21:00:00,22:00:00"表示16点至20点21点至22点可用 时间段不可重叠
/// </summary>
[JsonProperty("times")]
public string Times { get; set; }
/// <summary>
/// 券可用时间维度值 周维度的取值范围1-7(周一至周日),多个可用时段用逗号分隔 如"1,3,5",对应周一,周三,周五可用
/// </summary>
[JsonProperty("values")]
public string Values { get; set; }
}
}