|
@@ -32,17 +32,15 @@ export class FVO_estimate {
|
|
|
'status': string = undefined;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
export class QDTO_estimate extends SearchBase {
|
|
|
constructor() {
|
|
|
const like_prop = [];
|
|
|
- const props = [];
|
|
|
+ const props = ['contacts', 'tel', 'status'];
|
|
|
const mapping = [];
|
|
|
super({ like_prop, props, mapping });
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-
|
|
|
export class QVO_estimate extends FVO_estimate {
|
|
|
constructor(data: object) {
|
|
|
super(data);
|
|
@@ -50,35 +48,33 @@ export class QVO_estimate extends FVO_estimate {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-
|
|
|
export class CDTO_estimate {
|
|
|
@ApiProperty({ description: '微信用户' })
|
|
|
-@Rule(RuleType['string']().empty(''))
|
|
|
+ @Rule(RuleType['string']().empty(''))
|
|
|
'openid': string = undefined;
|
|
|
@ApiProperty({ description: '品牌' })
|
|
|
-@Rule(RuleType['string']().empty(''))
|
|
|
+ @Rule(RuleType['string']().empty(''))
|
|
|
'brand': string = undefined;
|
|
|
@ApiProperty({ description: '上牌日期' })
|
|
|
-@Rule(RuleType['string']().empty(''))
|
|
|
+ @Rule(RuleType['string']().empty(''))
|
|
|
'start': string = undefined;
|
|
|
@ApiProperty({ description: '所在地区' })
|
|
|
-@Rule(RuleType['string']().empty(''))
|
|
|
+ @Rule(RuleType['string']().empty(''))
|
|
|
'place': string = undefined;
|
|
|
@ApiProperty({ description: '联系人' })
|
|
|
-@Rule(RuleType['string']().empty(''))
|
|
|
+ @Rule(RuleType['string']().empty(''))
|
|
|
'contacts': string = undefined;
|
|
|
@ApiProperty({ description: '联系电话' })
|
|
|
-@Rule(RuleType['string']().empty(''))
|
|
|
+ @Rule(RuleType['string']().empty(''))
|
|
|
'tel': string = undefined;
|
|
|
@ApiProperty({ description: '预估金额' })
|
|
|
-@Rule(RuleType['string']().empty(''))
|
|
|
+ @Rule(RuleType['string']().empty(''))
|
|
|
'estimate': string = undefined;
|
|
|
@ApiProperty({ description: '状态' })
|
|
|
-@Rule(RuleType['string']().empty(''))
|
|
|
+ @Rule(RuleType['string']().empty(''))
|
|
|
'status': string = undefined;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
export class CVO_estimate extends FVO_estimate {
|
|
|
constructor(data: object) {
|
|
|
super(data);
|
|
@@ -86,17 +82,15 @@ export class CVO_estimate extends FVO_estimate {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-
|
|
|
export class UDTO_estimate extends CDTO_estimate {
|
|
|
- @ApiProperty({ description: '数据id' })
|
|
|
- @Rule(RuleType['string']().empty(''))
|
|
|
- _id: string = undefined;
|
|
|
+ @ApiProperty({ description: '数据id' })
|
|
|
+ @Rule(RuleType['string']().empty(''))
|
|
|
+ _id: string = undefined;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
export class UVAO_estimate extends FVO_estimate {
|
|
|
constructor(data: object) {
|
|
|
super(data);
|
|
|
dealVO(this, data);
|
|
|
}
|
|
|
-}
|
|
|
+}
|