reloaded 5 years ago
parent
commit
0b560d749c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/model/student.js

+ 1 - 1
app/model/student.js

@@ -28,7 +28,7 @@ const StudentSchema = {
   classid: { type: String, required: false, maxLength: 200 }, // 班级id
   bedroomid: { type: String, required: false, maxLength: 200 }, // 寝室id
   bedroom: { type: String, required: false, maxLength: 200 }, // 寝室号
-  is_fine: { type: String, required: false, maxLength: 200 }, // 是否优秀,0-否,1-是
+  is_fine: { type: String, required: false, maxLength: 200, default: '0' }, // 是否优秀,0-否,1-是,2-无资格
   selfscore: { type: String, required: false, maxLength: 200 }, // 个人分
   score: { type: String, required: false, maxLength: 200 }, // 总分
 }