using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using static TEAMModelOS.SDK.Models.Teacher; namespace TEAMModelOS.SDK.Models { public class Imei : CosmosEntity { ///id: 电子学生证id, ///code:"Imei", /// stuid :"学生id" public string stuid { get; set; } /// school :"学校编码" public string school { get; set; } /// /// 教室頻道號碼 /// public string channel { get; set; } /// /// 教室授課ID,HiTeach(裝置ID),CC(TMID) /// public string userid { get; set; } /// /// 电子学生证类型,chinamobile 手机号类型,tianbo 串号类型 /// public string imeiType { get; set; } } /// /// 学生 /// public class Student : CosmosEntity { /// /// 邮箱 /// public string mail { get; set; } /// /// 手机号 /// public string mobile { get; set; } /// /// 国家 /// public string country { get; set; } /// /// 姓名 /// public string name { get; set; } /// /// 头像 /// public string picture { get; set; } /// /// 学校Id /// public string schoolId { get; set; } /// /// 密码 /// public string pw { get; set; } /// /// 密码盐值 /// public string salt { get; set; } /// /// 入学年份 /// public int year { get; set; } //座位号 public string no { get; set; } //座位号 /// /// IRS编号 /// public string irs { get; set; } //绑定班级Id public string classId { get; set; } //分组信息 public string groupId { get; set; } /// /// 分组名称 /// public string groupName { get; set; } /// /// 学段id /// public string periodId { get; set; } /// /// 性别 M( male,男) F (female 女) N(secret 保密) /// public string gender { get; set; } //补充留级信息 //0在校,1毕业 public int graduate { get; set; } = 0; /// /// 保留当天的登录信息 /// public List loginInfos { get; set; } = new List(); /// /// 创建时间 十位 时间戳 /// public long createTime { get; set; } /// /// 学生的监护人信息 /// public List guardians { get; set; }= new List(); /// /// 学生的专业id /// public string majorId { get; set; } /// /// 學生的OpenID (TW教育雲綁定ID) /// public string openId { get; set; } } /// /// 监护人 /// public class Guardian : CosmosEntity { //存 Student表 // id = uuid // code = "Base-Guardian" //绑定信息的key(手机号,邮箱,醍摩豆id) //姓名 姓名 public string name { get; set; } public string nickname { get; set; } //监护人:父亲,母亲,或者其他监护人 /// /// 头像 /// public string picture { get; set; } /// /// id /// public string tmdid { get; set; } /// /// 手机号 /// public string mobile { get; set; } /// /// 邮箱 /// public string mail { get; set; } /// /// 学生信息 /// public List students { get; set; } = new List(); } public class GuardianStudent { public string relation { get; set; } /// ///类型 1 tmdid,2 student /// public int type { get; set; } public string id { get; set; } /// /// 头像 /// public string picture { get; set; } /// /// 名称 /// public string name { get; set; } /// /// 学生所在的学校 /// public string code { get; set; } /// /// 是否认证通过 0 默认,未通过,1 通过 。 /// public int auth { get; set; } = 0; } public class StudentGuardian { //绑定信息的key(手机号,邮箱,醍摩豆id) // public List bindKey { get; set; } = new List(); //姓名 姓名 public string name { get; set; } //监护人:父亲,母亲,或者其他监护人 public string relation { get; set; } /// /// 头像 /// public string picture { get; set; } /// /// id /// public string tmdid { get; set; } /// /// 手机号 /// public string mobile { get; set; } /// /// 邮箱 /// public string mail { get; set; } } }