lrf 2 years ago
parent
commit
94948dcee2
1 changed files with 3 additions and 3 deletions
  1. 3 3
      app/model/race/matchSmallGroupSchedule.js

+ 3 - 3
app/model/race/matchSmallGroupSchedule.js

@@ -5,10 +5,10 @@ const metaPlugin = require('naf-framework-mongoose-free/lib/model/meta-plugin');
 // 小组赛赛程设置
 const match_small_group_schedule = {
   match_id: { type: String, required: true, zh: '赛事id', ref: 'Match', getProp: [ 'name' ] }, // 赛事信息中的名称
-  group_id: { type: String, required: true, zh: '组别id', ref: 'Group', getProp: [ 'name' ] }, // 赛事组别中的名称
-  project_id: { type: String, required: true, zh: '项目id', ref: 'Project', 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' ] }, // 组内项目中的名称
   team_id: { type: String, required: true, zh: '小组id', ref: 'MatchTeamGroup', getProp: [ 'name' ] }, // 小组赛组设置中的name
-  address_id: { type: String, required: true, zh: '场地id', ref: 'Address', getProp: [ 'name' ] }, // 赛事场地中name
+  address_id: { type: String, required: true, zh: '场地id', ref: 'MatchAddress', getProp: [ 'name' ] }, // 赛事场地中name
   referee_id: { type: String, required: true, zh: '裁判id', ref: 'User', getProp: [ 'name' ] }, // 用户表中的name
   match_time: { type: String, required: true, zh: '比赛时间' }, //
   player_type: { type: String, required: true, zh: '选手类型' }, // 0:单打,user;1:双打,teamApply