Explorar o código

增加类型字段

liuyu %!s(int64=5) %!d(string=hai) anos
pai
achega
e22c4a9c9d
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      app/model/schtime.js

+ 1 - 0
app/model/schtime.js

@@ -6,6 +6,7 @@ const termInfo = new Schema({
   termnum: { type: String, required: false, maxLength: 200 }, // 期数
   termid: { type: String, required: false, maxLength: 200 }, // 期id
   number: { type: String, required: false, maxLength: 200 }, // 人数
+  type: { type: String, required: false, maxLength: 200 }, // 类别
 });
 
 // 培训计划学校上报时间表