|
@@ -16,6 +16,8 @@ export class FVO_opinion {
|
|
_id: string = undefined;
|
|
_id: string = undefined;
|
|
@ApiProperty({ description: '用户id' })
|
|
@ApiProperty({ description: '用户id' })
|
|
'user': string = undefined;
|
|
'user': string = undefined;
|
|
|
|
+ @ApiProperty({ description: '用户昵称' })
|
|
|
|
+ 'user_name': string = undefined;
|
|
@ApiProperty({ description: '用户类型' })
|
|
@ApiProperty({ description: '用户类型' })
|
|
'userType': string = undefined;
|
|
'userType': string = undefined;
|
|
@ApiProperty({ description: '问题类型' })
|
|
@ApiProperty({ description: '问题类型' })
|
|
@@ -33,12 +35,16 @@ export class FVO_opinion {
|
|
export class QDTO_opinion extends SearchBase {
|
|
export class QDTO_opinion extends SearchBase {
|
|
constructor() {
|
|
constructor() {
|
|
const like_prop = [];
|
|
const like_prop = [];
|
|
- const props = ['userType'];
|
|
|
|
|
|
+ const props = ['userType', 'type', 'status'];
|
|
const mapping = [];
|
|
const mapping = [];
|
|
super({ like_prop, props, mapping });
|
|
super({ like_prop, props, mapping });
|
|
}
|
|
}
|
|
@ApiProperty({ description: '用户类型' })
|
|
@ApiProperty({ description: '用户类型' })
|
|
'userType': string = undefined;
|
|
'userType': string = undefined;
|
|
|
|
+ @ApiProperty({ description: '问题类型' })
|
|
|
|
+ 'type': string = undefined;
|
|
|
|
+ @ApiProperty({ description: '状态' })
|
|
|
|
+ 'status': string = undefined;
|
|
}
|
|
}
|
|
|
|
|
|
export class QVO_opinion extends FVO_opinion {
|
|
export class QVO_opinion extends FVO_opinion {
|