using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// /// ScheduleTripItem Data Structure. /// [Serializable] public class ScheduleTripItem : AopObject { /// /// 方向,参考方向枚举 /// [XmlElement("direction")] public string Direction { get; set; } /// /// 线路id /// [XmlElement("line_id")] public string LineId { get; set; } /// /// 单程行驶时间(单位min) /// [XmlElement("run_time")] public long RunTime { get; set; } /// /// 若time_span为10,则06:00表示06:00-06:10的时段; 若time_span为30,则06:00表示06:00-06:30的时段 /// [XmlElement("time_period")] public string TimePeriod { get; set; } } }