|
@@ -20,6 +20,8 @@ export class FVO_match {
|
|
|
'name': string = undefined;
|
|
|
@ApiProperty({ description: '类型' })
|
|
|
'type': string = undefined;
|
|
|
+ @ApiProperty({ description: '类别' })
|
|
|
+ 'form': string = undefined;
|
|
|
@ApiProperty({ description: '有效期' })
|
|
|
'time': Array<any> = undefined;
|
|
|
@ApiProperty({ description: '奖金' })
|
|
@@ -41,7 +43,7 @@ export class FVO_match {
|
|
|
export class QDTO_match extends SearchBase {
|
|
|
constructor() {
|
|
|
const like_prop = [];
|
|
|
- const props = ['user', 'name', 'type', 'status', 'match_status', 'is_use'];
|
|
|
+ const props = ['user', 'name', 'type', 'status','form', 'match_status', 'is_use'];
|
|
|
const mapping = [];
|
|
|
super({ like_prop, props, mapping });
|
|
|
}
|
|
@@ -51,6 +53,8 @@ export class QDTO_match extends SearchBase {
|
|
|
'name': string = undefined;
|
|
|
@ApiProperty({ description: '类型' })
|
|
|
'type': string = undefined;
|
|
|
+ @ApiProperty({ description: '类别' })
|
|
|
+ 'form': string = undefined;
|
|
|
@ApiProperty({ description: '赛事状态' })
|
|
|
'match_status': string = undefined;
|
|
|
@ApiProperty({ description: '是否公开' })
|
|
@@ -76,6 +80,9 @@ export class CDTO_match {
|
|
|
@ApiProperty({ description: '类型' })
|
|
|
@Rule(RuleType['string']().empty(''))
|
|
|
'type': string = undefined;
|
|
|
+ @ApiProperty({ description: '类别' })
|
|
|
+ @Rule(RuleType['string']().empty(''))
|
|
|
+ 'form': string = undefined;
|
|
|
@ApiProperty({ description: '有效期' })
|
|
|
@Rule(RuleType['array']().empty(''))
|
|
|
'time': Array<any> = undefined;
|