|
@@ -49,7 +49,11 @@ namespace TEAMModelOS.SDK.Models.Cosmos.School
|
|
|
/// </summary>
|
|
|
public long expire { get; set; } = -1;
|
|
|
public string courseId { get; set; }
|
|
|
-
|
|
|
+ /// <summary>
|
|
|
+ /// 颜色
|
|
|
+ /// </summary>
|
|
|
+ public string color { get; set; }
|
|
|
+ public List<ScheduleInfo> schedules { get; set; } = new List<ScheduleInfo>();
|
|
|
}
|
|
|
|
|
|
public class ScheduleInfo
|
|
@@ -68,15 +72,21 @@ namespace TEAMModelOS.SDK.Models.Cosmos.School
|
|
|
/// 自定义名单
|
|
|
/// </summary>
|
|
|
public string stulist { get; set; }
|
|
|
- public List<TimeInfo> time { get; set; } = new List<TimeInfo>();
|
|
|
+ public List<ScheduleTime> time { get; set; } = new List<ScheduleTime>();
|
|
|
+
|
|
|
}
|
|
|
|
|
|
public class ScheduleTime {
|
|
|
public string id { get; set; }
|
|
|
public string week { get; set; }
|
|
|
/// <summary>
|
|
|
- /// all全部,single单周,double双周,或者 ["1","2","5"]
|
|
|
+ /// all全部,single单周,double双周,custom自定义
|
|
|
+ /// </summary>
|
|
|
+ public string mode { get; set; }
|
|
|
+ /// <summary>
|
|
|
+ /// 自定义序列
|
|
|
/// </summary>
|
|
|
- public List<string> mode { get; set; }
|
|
|
+ //[1,2,5,8]
|
|
|
+ public List<int>index { get; set; }= new List<int>();
|
|
|
}
|
|
|
}
|