liuyu 4 năm trước cách đây
mục cha
commit
f3473cc00a
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      app/model/classtype.js

+ 2 - 1
app/model/classtype.js

@@ -2,12 +2,13 @@
 const Schema = require('mongoose').Schema;
 const metaPlugin = require('naf-framework-mongoose/lib/model/meta-plugin');
 
-// 班级表
+// 班级类型
 const ClasstypeSchema = {
   name: { type: String, required: true, maxLength: 500 }, // 班级类型名称
   code: { type: String, required: false, maxLength: 200 }, // 班级类型代码(自定义)
   bedroom: { type: String, required: false, maxLength: 200 }, // 0分配;1填写 寝室
   sign: { type: String, required: false, maxLength: 200 }, // 0学生签到;1教师签到
+  hascar: { type: String, required: false, maxLength: 500 }, // 是否派车,0-否,1-是
 };