|
@@ -4,9 +4,9 @@ const metaPlugin = require('naf-framework-mongoose-free/lib/model/meta-plugin');
|
|
|
|
|
|
// 小组赛组设置
|
|
|
const match_team_group = {
|
|
|
- match_id: { type: String, required: true, zh: '赛事id', ref: 'Match', getProp: ['name'] }, // 比赛信息中的名称
|
|
|
- group_id: { type: String, required: true, zh: '组别id', ref: 'MatchGroup', getProp: ['name'] }, // 赛事组别中的名称
|
|
|
- project_id: { type: String, required: true, zh: '项目id', ref: 'MatchProject', getProp: ['name'] }, // 组内项目中的名称
|
|
|
+ match_id: { type: String, required: true, zh: '赛事id', ref: 'Match', getProp: [ 'name' ] }, // 比赛信息中的名称
|
|
|
+ group_id: { type: String, required: true, zh: '组别id', ref: 'MatchGroup', getProp: [ 'name' ] }, // 赛事组别中的名称
|
|
|
+ project_id: { type: String, required: true, zh: '项目id', ref: 'MatchProject', getProp: [ 'name' ] }, // 组内项目中的名称
|
|
|
name: { type: String, required: true, zh: '分组名称' }, //
|
|
|
person_type: { type: String, required: false, zh: '人员类型' }, // 单打:user;双打:teamApply
|
|
|
person: { type: Array, required: false, zh: '组内人员' }, // refPath: 'person_type'
|