|
@@ -6,7 +6,7 @@ const metaPlugin = require('naf-framework-mongoose/lib/model/meta-plugin');
|
|
|
const LocationSchema = {
|
|
|
name: { type: String, required: true, maxLength: 500 }, // 名称
|
|
|
type: { type: String, required: true, maxLength: 10 }, // 0、教室位置 1、开班仪式地点 2、拓展计划地点 3、用餐地点
|
|
|
- ibeacon: { type: String, required: true, maxLength: 500 }, // 蓝牙设备号
|
|
|
+ ibeacon: { type: String, required: false, maxLength: 500 }, // 蓝牙设备号
|
|
|
};
|
|
|
|
|
|
|