Explorar o código

成績計算資料庫模型修正

jeff %!s(int64=2) %!d(string=hai) anos
pai
achega
81c019ea9d
Modificáronse 1 ficheiros con 8 adicións e 6 borrados
  1. 8 6
      TEAMModelOS.SDK/Models/Cosmos/School/ScoreCalc.cs

+ 8 - 6
TEAMModelOS.SDK/Models/Cosmos/School/ScoreCalc.cs

@@ -137,15 +137,13 @@ namespace TEAMModelOS.SDK.Models.Cosmos.School
         public ScoreCalcLsRecord()
         {
             items = new List<ScoreCalcActivityItems>();
-            stuAttendFunction = new List<string>();
+
             stuActAttendOrgVals = new List<List<string>>();
             stuActAttendScores = new List<List<double>>();
             stuAttendScores = new List<double>();
-            stuPointFunction = new List<string>();
             stuActPointOrgVals = new List<List<int>>();
             stuActPointScores = new List<List<double>>();
             stuPointScores = new List<double>();
-            stuItactFunction = new List<string>();
             stuActItactOrgVals = new List<List<int>>();
             stuActItactScores = new List<List<double>>();
             stuItactScores = new List<double>();
@@ -157,7 +155,7 @@ namespace TEAMModelOS.SDK.Models.Cosmos.School
         /// <summary>
         /// 課堂紀錄出席 採用的公式ID (依照items順序 第一個課堂紀錄公式 第二個...)
         /// </summary>
-        public List<string> stuAttendFunction { get; set; }
+        public string stuAttendFunctionId { get; set; }
         /// <summary>
         /// 各學生各課堂紀錄出席 系統原值
         /// </summary>
@@ -173,7 +171,7 @@ namespace TEAMModelOS.SDK.Models.Cosmos.School
         /// <summary>
         /// 課堂紀錄記分板 採用的公式ID
         /// </summary>
-        public List<string> stuPointFunction { get; set; }
+        public string stuPointFunctionId { get; set; }
         /// <summary>
         /// 各學生各課堂紀錄記分板 系統原值
         /// </summary>
@@ -189,7 +187,7 @@ namespace TEAMModelOS.SDK.Models.Cosmos.School
         /// <summary>
         /// 課堂紀錄互動 採用的公式ID
         /// </summary>
-        public List<string> stuItactFunction { get; set; }
+        public string stuItactFunctionId { get; set; }
         /// <summary>
         /// 各學生各課堂紀錄互動 系統原值
         /// </summary>
@@ -345,5 +343,9 @@ namespace TEAMModelOS.SDK.Models.Cosmos.School
         /// 種類 attend:出席 | point:得分版 | interaction:互動
         /// </summary>
         public string method { get; set; }
+        /// <summary>
+        /// 公式內容
+        /// </summary>
+        public string content { get; set; }
     }
 }