|
@@ -30,10 +30,12 @@ export class FVO_expert {
|
|
|
'type': string = undefined;
|
|
|
@ApiProperty({ description: '学历' })
|
|
|
'education': string = undefined;
|
|
|
+ @ApiProperty({ description: '职称' })
|
|
|
+ 'title': string = undefined;
|
|
|
@ApiProperty({ description: '简介' })
|
|
|
'brief': string = undefined;
|
|
|
@ApiProperty({ description: '所在地区' })
|
|
|
- 'region': string = undefined;
|
|
|
+ 'area': Array<any> = undefined;
|
|
|
@ApiProperty({ description: '是否公开' })
|
|
|
'is_show': string = undefined;
|
|
|
@ApiProperty({ description: '状态' })
|
|
@@ -43,7 +45,7 @@ export class FVO_expert {
|
|
|
export class QDTO_expert extends SearchBase {
|
|
|
constructor() {
|
|
|
const like_prop = [];
|
|
|
- const props = ['user', 'name', 'gender', 'phone', 'field', 'type', 'education', 'region', 'is_show', 'status'];
|
|
|
+ const props = ['user', 'name', 'gender', 'phone', 'field', 'type', 'education', 'title', 'area', 'is_show', 'status'];
|
|
|
const mapping = [];
|
|
|
super({ like_prop, props, mapping });
|
|
|
}
|
|
@@ -61,8 +63,10 @@ export class QDTO_expert extends SearchBase {
|
|
|
'type': string = undefined;
|
|
|
@ApiProperty({ description: '学历' })
|
|
|
'education': string = undefined;
|
|
|
+ @ApiProperty({ description: '职称' })
|
|
|
+ 'title': string = undefined;
|
|
|
@ApiProperty({ description: '所在地区' })
|
|
|
- 'region': string = undefined;
|
|
|
+ 'area': Array<any> = undefined;
|
|
|
@ApiProperty({ description: '是否公开' })
|
|
|
'is_show': string = undefined;
|
|
|
@ApiProperty({ description: '状态' })
|
|
@@ -101,12 +105,15 @@ export class CDTO_expert {
|
|
|
@ApiProperty({ description: '学历' })
|
|
|
@Rule(RuleType['string']().empty(''))
|
|
|
'education': string = undefined;
|
|
|
+ @ApiProperty({ description: '职称' })
|
|
|
+ @Rule(RuleType['string']().empty(''))
|
|
|
+ 'title': string = undefined;
|
|
|
@ApiProperty({ description: '简介' })
|
|
|
@Rule(RuleType['string']().empty(''))
|
|
|
'brief': string = undefined;
|
|
|
@ApiProperty({ description: '所在地区' })
|
|
|
- @Rule(RuleType['string']().empty(''))
|
|
|
- 'region': string = undefined;
|
|
|
+ @Rule(RuleType['array']().empty(''))
|
|
|
+ 'area': Array<any> = undefined;
|
|
|
@ApiProperty({ description: '是否公开' })
|
|
|
@Rule(RuleType['string']().empty(''))
|
|
|
'is_show': string = undefined;
|