|
@@ -24,6 +24,8 @@ export class FVO_user {
|
|
|
'gender': string = undefined;
|
|
|
@ApiProperty({ description: '手机号' })
|
|
|
'phone': string = undefined;
|
|
|
+ @ApiProperty({ description: '电子邮箱' })
|
|
|
+ 'email': string = undefined;
|
|
|
@ApiProperty({ description: '角色' })
|
|
|
'role': Array<any> = undefined;
|
|
|
@ApiProperty({ description: '状态' })
|
|
@@ -33,7 +35,7 @@ export class FVO_user {
|
|
|
export class QDTO_user extends SearchBase {
|
|
|
constructor() {
|
|
|
const like_prop = [];
|
|
|
- const props = ['account', 'nick_name', 'phone', 'status'];
|
|
|
+ const props = ['account', 'nick_name', 'email', 'phone', 'status'];
|
|
|
const mapping = [];
|
|
|
super({ like_prop, props, mapping });
|
|
|
}
|
|
@@ -43,6 +45,8 @@ export class QDTO_user extends SearchBase {
|
|
|
'nick_name': string = undefined;
|
|
|
@ApiProperty({ description: '手机号' })
|
|
|
'phone': string = undefined;
|
|
|
+ @ApiProperty({ description: '电子邮箱' })
|
|
|
+ 'email': string = undefined;
|
|
|
@ApiProperty({ description: '状态' })
|
|
|
'status': string = undefined;
|
|
|
}
|
|
@@ -70,6 +74,9 @@ export class CDTO_user {
|
|
|
@ApiProperty({ description: '手机号' })
|
|
|
@Rule(RuleType['string']().empty(''))
|
|
|
'phone': string = undefined;
|
|
|
+ @ApiProperty({ description: '电子邮箱' })
|
|
|
+ @Rule(RuleType['string']().empty(''))
|
|
|
+ 'email': string = undefined;
|
|
|
@ApiProperty({ description: '角色' })
|
|
|
@Rule(RuleType['array']().empty(''))
|
|
|
'role': Array<any> = undefined;
|