CrazyIter_Bin há 3 anos atrás
pai
commit
3e3fd090bb

+ 0 - 25
TEAMModelOS.SDK/Models/Cosmos/Common/TchList.cs

@@ -1,25 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-namespace TEAMModelOS.SDK.Models
-{
-   public class TchList : CosmosEntity
-    {
-        public TchList()
-        {
-            pk = "TchList";
-        }
-        public List<string> teachers { get; set; }
-        public string name { get; set; }
-        //标记该名单唯一code
-        public string no { get; set; }
-        public string scope { get; set; }
-        public string school { get; set; }
-        public string creatorId { get; set; }
-        /// <summary>
-        /// teacher 教师分组名单 , research 教研组名单
-        /// </summary>
-        public string type { get; set; }
-    }
-}

+ 46 - 0
TEAMModelOS.SDK/Models/Cosmos/Student/Parent.cs

@@ -0,0 +1,46 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace TEAMModelOS.SDK.Models
+{
+    public class Parent : CosmosEntity
+    {
+        // id = tmdid
+        // code = "Base-Parent"
+
+        //绑定信息的key(手机号,邮箱,醍摩豆id)
+        public List<BindKey> bindKey { get; set; } = new List<BindKey>();
+        //姓名 姓名
+        public string name { get; set; }
+        //监护人:父亲,母亲,或者其他监护人
+        public string identity { get; set; }
+        /// <summary>
+        /// 头像
+        /// </summary>
+        public string picture { get; set; }
+
+    }
+    public class ParentChildren
+    {
+        /// <summary>
+        ///类型 1 tmdid,2 student
+        /// </summary>
+        public int type { get; set; }
+        public  string id { get; set; }
+        /// <summary>
+        /// 头像
+        /// </summary>
+        public string picture { get; set; }
+        /// <summary>
+        /// 名称
+        /// </summary>
+        public string name { get; set; }
+        /// <summary>
+        /// 学生所在的学校
+        /// </summary>
+        public string code { get; set; }
+    }
+}

+ 18 - 0
TEAMModelOS.SDK/Models/Cosmos/Student/Student.cs

@@ -32,5 +32,23 @@ namespace TEAMModelOS.SDK.Models
         //补充留级信息
         //0在校,1留级,2退学 3毕业
         public int status { get; set; } = 0;
+        List<StudentParent> parents { get; set; }= new List<StudentParent>();
+    }
+    public class StudentParent {
+        //绑定信息的key(手机号,邮箱,醍摩豆id)
+        public List<BindKey> bindKey { get; set; } = new List<BindKey>();
+        //姓名 姓名
+        public string name { get; set; }
+        //监护人:父亲,母亲,或者其他监护人
+        public string identity { get; set; }
+        /// <summary>
+        /// 头像
+        /// </summary>
+        public string picture { get; set; }
+    }
+    public class BindKey {
+        // key(手机号,邮箱,醍摩豆id,Line,Google等信息)
+        public string key { get; set; }
+        public string type { get; set; }
     }
 }

+ 3 - 3
TEAMModelOS/TEAMModelOS.csproj

@@ -31,9 +31,9 @@
     <SpaRoot>ClientApp\</SpaRoot>
     <DefaultItemExcludes>$(DefaultItemExcludes);$(SpaRoot)node_modules\**</DefaultItemExcludes>
     <UserSecretsId>078b5d89-7d90-4f6a-88fc-7d96025990a8</UserSecretsId>
-    <Version>5.2203.10</Version>
-    <AssemblyVersion>5.2203.10.1</AssemblyVersion>
-    <FileVersion>5.2203.10.1</FileVersion>
+    <Version>5.2203.11</Version>
+    <AssemblyVersion>5.2203.11.1</AssemblyVersion>
+    <FileVersion>5.2203.11.1</FileVersion>
     <Description>TEAMModelOS(IES5)版本更新。</Description>
     <PackageReleaseNotes>6.0版本说明</PackageReleaseNotes>
   </PropertyGroup>