using System; using System.Xml.Serialization; using System.Collections.Generic; namespace Aop.Api.Domain { /// /// ExerciseRecordOpenModel Data Structure. /// [Serializable] public class ExerciseRecordOpenModel : AopObject { /// /// 运动计划类型。枚举:运动项目(ITEM),或课程(COURSE) /// [XmlElement("biz_type")] public string BizType { get; set; } /// /// 课程列表。当biz_type=COURSE时必填 /// [XmlElement("course_list")] public ExerciseCourseOpenModel CourseList { get; set; } /// /// 单日进度汇总列表 /// [XmlArray("daily_summary")] [XmlArrayItem("exercise_daily_summary_open_model")] public List DailySummary { get; set; } /// /// 一级健身项目列表。当biz_type=ITEM时必填 /// [XmlArray("item_list")] [XmlArrayItem("exercise_item_open_model")] public List ItemList { get; set; } /// /// 运动建议列表 /// [XmlArray("proposal_list")] [XmlArrayItem("string")] public List ProposalList { get; set; } /// /// 时间维度类型。健身日志只支持终生类型。枚举:LIFE("终生") /// [XmlElement("time_dimension_type")] public string TimeDimensionType { get; set; } /// /// 维度所所对应的值。LIFE时为yyyy-MM-dd格式的日期。日志同步接口只支持传一个时间维度值 /// [XmlElement("values")] public string Values { get; set; } } }