12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- namespace TEAMModelOS.SDK.Models
- {
- public class Teacher : CosmosEntity
- {
- public string name { get; set; }
- public string picture { get; set; }
- public int size { get; set; }
- public string defaultSchool { get; set; }
- public List<TeacherSchool> schools { get; set; } = new List<TeacherSchool>();
- public List<TeacherArea> areas { get; set; } = new List<TeacherArea>();
- public List<ThirdBind> binds { get; set; } = new List<ThirdBind>();
- public int lessonLimit { get; set; } = 0;
- public List<string> lessonShow { get; set; } = new List<string>();
- /// <summary>
- /// 创建时间 十位 时间戳
- /// </summary>
- public long createTime { get; set; }
- /// <summary>
- /// 保留当天的登录信息
- /// </summary>
- public List<LoginInfo> loginInfos { get; set; } = new List<LoginInfo>();
- public string lang { get; set; }
- public class LoginInfo
- {
- /// <summary>
- /// 时间戳 毫秒
- /// </summary>
- public long time { get; set; }
- /// <summary>
- /// ip地址
- /// </summary>
- public string ip { get; set; }
- /// <summary>
- /// token到期时间
- /// </summary>
- public long expire { get; set; }
- }
- public class TeacherSchool
- {
- public string schoolId { get; set; }
- public string name { get; set; }
- public string status { get; set; }
- public long time { get; set; }
- public string picture { get; set; }
- public string areaId { get; set; }
- }
- public class TeacherArea
- {
- public string areaId { get; set; }
- public string name { get; set; }
- public string status { get; set; }
- }
- public class ThirdBind
- {
- /// <summary>
- /// scsyxpt 四川省研修平台
- /// </summary>
- public string type { get; set; }
- /// <summary>
- /// 用户来源
- /// </summary>
- //public string path { get; set; }
- public string userid { get; set; }
- public string username { get; set; }
- public string account { get; set; }
- // public HashSet<string> pxid { get; set; } = new HashSet<string>();
- public List<string> data { get; set; } = new List<string>();
- }
- }
- }
|