NewGaoKaoApi/PaymentSDK/AliPay/Domain/NormalBusinessTimeRule.cs

35 lines
890 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using System.Xml.Serialization;
using System.Collections.Generic;
namespace Aop.Api.Domain
{
/// <summary>
/// NormalBusinessTimeRule Data Structure.
/// </summary>
[Serializable]
public class NormalBusinessTimeRule : AopObject
{
/// <summary>
/// 指定月份,当为全年时传入1,2,3,4,5,6,7,8,9,10,11,12
/// </summary>
[XmlArray("month")]
[XmlArrayItem("number")]
public List<long> Month { get; set; }
/// <summary>
/// 营业时间的时间段
/// </summary>
[XmlArray("open_time_list")]
[XmlArrayItem("time_range")]
public List<TimeRange> OpenTimeList { get; set; }
/// <summary>
/// 星期
/// </summary>
[XmlArray("week")]
[XmlArrayItem("number")]
public List<long> Week { get; set; }
}
}