using System; using System.Xml.Serialization; using System.Collections.Generic; namespace Aop.Api.Domain { /// /// SpecialBusinessTimeRule Data Structure. /// [Serializable] public class SpecialBusinessTimeRule : AopObject { /// /// 开始日期 /// [XmlElement("begin_date")] public string BeginDate { get; set; } /// /// 是否24小时不营业 /// [XmlElement("close_all_day")] public bool CloseAllDay { get; set; } /// /// 结束日期 /// [XmlElement("end_date")] public string EndDate { get; set; } /// /// 是否24小时营业 /// [XmlElement("open_all_day")] public bool OpenAllDay { get; set; } /// /// 当既不是24小时营业也不是24小时不营业时,具体的营业时间段 /// [XmlArray("open_time_list")] [XmlArrayItem("time_range")] public List OpenTimeList { get; set; } } }