初始提交

This commit is contained in:
wanyongkang
2020-10-07 20:25:03 +08:00
commit d318014316
3809 changed files with 263103 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
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; }
}
}