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; }
}
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; }
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; } //座位号
public string irs { get; set; }
//绑定班级Id
public string classId { get; set; }
//分组信息
public string groupId { get; set; }
public string groupName { get; set; }
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; }
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; }
public string tmdid { get; set; }
public string mobile { get; set; }
public string mail { get; set; }
}
}