|
@@ -18,6 +18,8 @@ export class FVO_user {
|
|
|
'openid': string = undefined;
|
|
|
@ApiProperty({ description: '昵称' })
|
|
|
'nick_name': string = undefined;
|
|
|
+ @ApiProperty({ description: '姓名' })
|
|
|
+ 'name': string = undefined;
|
|
|
@ApiProperty({ description: '身份证号' })
|
|
|
'card': string = undefined;
|
|
|
@ApiProperty({ description: '电话' })
|
|
@@ -28,7 +30,6 @@ export class FVO_user {
|
|
|
'file_two': Array<any> = undefined;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
export class QDTO_user extends SearchBase {
|
|
|
constructor() {
|
|
|
const like_prop = [];
|
|
@@ -38,7 +39,6 @@ export class QDTO_user extends SearchBase {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-
|
|
|
export class QVO_user extends FVO_user {
|
|
|
constructor(data: object) {
|
|
|
super(data);
|
|
@@ -46,29 +46,30 @@ export class QVO_user extends FVO_user {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-
|
|
|
export class CDTO_user {
|
|
|
@ApiProperty({ description: '微信小程序id' })
|
|
|
-@Rule(RuleType['string']().empty(''))
|
|
|
+ @Rule(RuleType['string']().empty(''))
|
|
|
'openid': string = undefined;
|
|
|
@ApiProperty({ description: '昵称' })
|
|
|
-@Rule(RuleType['string']().empty(''))
|
|
|
+ @Rule(RuleType['string']().empty(''))
|
|
|
'nick_name': string = undefined;
|
|
|
+ @ApiProperty({ description: '姓名' })
|
|
|
+ @Rule(RuleType['string']().empty(''))
|
|
|
+ 'name': string = undefined;
|
|
|
@ApiProperty({ description: '身份证号' })
|
|
|
-@Rule(RuleType['string']().empty(''))
|
|
|
+ @Rule(RuleType['string']().empty(''))
|
|
|
'card': string = undefined;
|
|
|
@ApiProperty({ description: '电话' })
|
|
|
-@Rule(RuleType['string']().empty(''))
|
|
|
+ @Rule(RuleType['string']().empty(''))
|
|
|
'phone': string = undefined;
|
|
|
@ApiProperty({ description: '身份证正面' })
|
|
|
-@Rule(RuleType['array']().empty(''))
|
|
|
+ @Rule(RuleType['array']().empty(''))
|
|
|
'file_one': Array<any> = undefined;
|
|
|
@ApiProperty({ description: '身份证反面' })
|
|
|
-@Rule(RuleType['array']().empty(''))
|
|
|
+ @Rule(RuleType['array']().empty(''))
|
|
|
'file_two': Array<any> = undefined;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
export class CVO_user extends FVO_user {
|
|
|
constructor(data: object) {
|
|
|
super(data);
|
|
@@ -76,14 +77,12 @@ export class CVO_user extends FVO_user {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-
|
|
|
export class UDTO_user extends CDTO_user {
|
|
|
- @ApiProperty({ description: '数据id' })
|
|
|
- @Rule(RuleType['string']().empty(''))
|
|
|
- _id: string = undefined;
|
|
|
+ @ApiProperty({ description: '数据id' })
|
|
|
+ @Rule(RuleType['string']().empty(''))
|
|
|
+ _id: string = undefined;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
export class UVAO_user extends FVO_user {
|
|
|
constructor(data: object) {
|
|
|
super(data);
|