|
@@ -4,7 +4,7 @@ const metaPlugin = require('naf-framework-mongoose-free/lib/model/meta-plugin');
|
|
|
|
|
|
// 赛事场地
|
|
|
const match_address = {
|
|
|
- belong_id: { type: String, required: true, zh: '归属id', ref: 'Race.User', getProp: ['name'] }, // 用户表中的名称
|
|
|
+ belong_id: { type: String, required: true, zh: '归属id', ref: 'Race.User', getProp: [ 'name' ] }, // 用户表中的名称
|
|
|
name: { type: String, required: true, zh: '名称' }, //
|
|
|
remark: { type: String, required: false, zh: '备注' }, //
|
|
|
is_use: { type: String, required: false, default: '0', zh: '是否使用' }, // 0:启用,1:禁用
|