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

32 lines
933 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 System.Collections.Generic;
using Newtonsoft.Json;
namespace Alipay.AopSdk.Core.Domain
{
/// <summary>
/// CalendarScheduleInfo Data Structure.
/// </summary>
[Serializable]
public class CalendarScheduleInfo : AopObject
{
/// <summary>
/// 时间分段时长字段unit为单位如duration=30unit=MIN则表示二进制的时间表表示将一天分为30分钟一小段的时间片段用来表示服务者的时间是否可用
/// </summary>
[JsonProperty("duration")]
public long Duration { get; set; }
/// <summary>
/// 服务者的服务时间表
/// </summary>
[JsonProperty("schedule")]
public List<ScheduleInfo> Schedule { get; set; }
/// <summary>
/// 间隔长度单位默认为MIN分钟允许的单位有DAY、WEEK、MONTH(月)
/// </summary>
[JsonProperty("unit")]
public string Unit { get; set; }
}
}