|
@@ -16,6 +16,8 @@ export class FVO_config {
|
|
|
_id: string = undefined;
|
|
|
@ApiProperty({ description: 'logo' })
|
|
|
'logo': Array<any> = undefined;
|
|
|
+ @ApiProperty({ description: '首页轮播图' })
|
|
|
+ 'file': Array<any> = undefined;
|
|
|
@ApiProperty({ description: '联系电话' })
|
|
|
'phone': string = undefined;
|
|
|
@ApiProperty({ description: '邮箱' })
|
|
@@ -32,7 +34,6 @@ export class FVO_config {
|
|
|
'agreement': string = undefined;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
export class QDTO_config extends SearchBase {
|
|
|
constructor() {
|
|
|
const like_prop = [];
|
|
@@ -42,7 +43,6 @@ export class QDTO_config extends SearchBase {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-
|
|
|
export class QVO_config extends FVO_config {
|
|
|
constructor(data: object) {
|
|
|
super(data);
|
|
@@ -50,35 +50,36 @@ export class QVO_config extends FVO_config {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-
|
|
|
export class CDTO_config {
|
|
|
@ApiProperty({ description: 'logo' })
|
|
|
-@Rule(RuleType['array']().empty(''))
|
|
|
+ @Rule(RuleType['array']().empty(''))
|
|
|
'logo': Array<any> = undefined;
|
|
|
+ @ApiProperty({ description: '首页轮播图' })
|
|
|
+ @Rule(RuleType['array']().empty(''))
|
|
|
+ 'file': Array<any> = undefined;
|
|
|
@ApiProperty({ description: '联系电话' })
|
|
|
-@Rule(RuleType['string']().empty(''))
|
|
|
+ @Rule(RuleType['string']().empty(''))
|
|
|
'phone': string = undefined;
|
|
|
@ApiProperty({ description: '邮箱' })
|
|
|
-@Rule(RuleType['string']().empty(''))
|
|
|
+ @Rule(RuleType['string']().empty(''))
|
|
|
'email': string = undefined;
|
|
|
@ApiProperty({ description: '地址' })
|
|
|
-@Rule(RuleType['string']().empty(''))
|
|
|
+ @Rule(RuleType['string']().empty(''))
|
|
|
'address': string = undefined;
|
|
|
@ApiProperty({ description: '工作时间' })
|
|
|
-@Rule(RuleType['string']().empty(''))
|
|
|
+ @Rule(RuleType['string']().empty(''))
|
|
|
'time': string = undefined;
|
|
|
@ApiProperty({ description: '平台简介' })
|
|
|
-@Rule(RuleType['string']().empty(''))
|
|
|
+ @Rule(RuleType['string']().empty(''))
|
|
|
'brief': string = undefined;
|
|
|
@ApiProperty({ description: '办证须知' })
|
|
|
-@Rule(RuleType['string']().empty(''))
|
|
|
+ @Rule(RuleType['string']().empty(''))
|
|
|
'notice': string = undefined;
|
|
|
@ApiProperty({ description: '用户协议' })
|
|
|
-@Rule(RuleType['string']().empty(''))
|
|
|
+ @Rule(RuleType['string']().empty(''))
|
|
|
'agreement': string = undefined;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
export class CVO_config extends FVO_config {
|
|
|
constructor(data: object) {
|
|
|
super(data);
|
|
@@ -86,14 +87,12 @@ export class CVO_config extends FVO_config {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-
|
|
|
export class UDTO_config extends CDTO_config {
|
|
|
- @ApiProperty({ description: '数据id' })
|
|
|
- @Rule(RuleType['string']().empty(''))
|
|
|
- _id: string = undefined;
|
|
|
+ @ApiProperty({ description: '数据id' })
|
|
|
+ @Rule(RuleType['string']().empty(''))
|
|
|
+ _id: string = undefined;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
export class UVAO_config extends FVO_config {
|
|
|
constructor(data: object) {
|
|
|
super(data);
|