|
@@ -14,8 +14,10 @@ export class FVO_ShopSetting {
|
|
}
|
|
}
|
|
@ApiProperty({ description: '数据id' })
|
|
@ApiProperty({ description: '数据id' })
|
|
_id: string = undefined;
|
|
_id: string = undefined;
|
|
- @ApiProperty({ description: '街道/社区' })
|
|
|
|
- 'office': string = undefined;
|
|
|
|
|
|
+ @ApiProperty({ description: '街道' })
|
|
|
|
+ 'street': string = undefined;
|
|
|
|
+ @ApiProperty({ description: '社区' })
|
|
|
|
+ 'community': string = undefined;
|
|
@ApiProperty({ description: '领导' })
|
|
@ApiProperty({ description: '领导' })
|
|
'leader': Array<any> = undefined;
|
|
'leader': Array<any> = undefined;
|
|
@ApiProperty({ description: '会计' })
|
|
@ApiProperty({ description: '会计' })
|
|
@@ -27,12 +29,16 @@ export class FVO_ShopSetting {
|
|
export class QDTO_ShopSetting extends SearchBase {
|
|
export class QDTO_ShopSetting extends SearchBase {
|
|
constructor() {
|
|
constructor() {
|
|
const like_prop = [];
|
|
const like_prop = [];
|
|
- const props = ['office'];
|
|
|
|
|
|
+ const props = ['street', 'community', 'is_use'];
|
|
const mapping = [];
|
|
const mapping = [];
|
|
super({ like_prop, props, mapping });
|
|
super({ like_prop, props, mapping });
|
|
}
|
|
}
|
|
- @ApiProperty({ description: '街道/社区' })
|
|
|
|
- 'office': string = undefined;
|
|
|
|
|
|
+ @ApiProperty({ description: '街道' })
|
|
|
|
+ 'street': string = undefined;
|
|
|
|
+ @ApiProperty({ description: '社区' })
|
|
|
|
+ 'community': string = undefined;
|
|
|
|
+ @ApiProperty({ description: '是否使用' })
|
|
|
|
+ 'is_use': string = undefined;
|
|
}
|
|
}
|
|
|
|
|
|
export class QVO_ShopSetting extends FVO_ShopSetting {
|
|
export class QVO_ShopSetting extends FVO_ShopSetting {
|
|
@@ -43,9 +49,12 @@ export class QVO_ShopSetting extends FVO_ShopSetting {
|
|
}
|
|
}
|
|
|
|
|
|
export class CDTO_ShopSetting {
|
|
export class CDTO_ShopSetting {
|
|
- @ApiProperty({ description: '街道/社区' })
|
|
|
|
|
|
+ @ApiProperty({ description: '街道' })
|
|
|
|
+ @Rule(RuleType['string']().empty(''))
|
|
|
|
+ 'street': string = undefined;
|
|
|
|
+ @ApiProperty({ description: '社区' })
|
|
@Rule(RuleType['string']().empty(''))
|
|
@Rule(RuleType['string']().empty(''))
|
|
- 'office': string = undefined;
|
|
|
|
|
|
+ 'community': string = undefined;
|
|
@ApiProperty({ description: '领导' })
|
|
@ApiProperty({ description: '领导' })
|
|
@Rule(RuleType['array']().empty(''))
|
|
@Rule(RuleType['array']().empty(''))
|
|
'leader': Array<any> = undefined;
|
|
'leader': Array<any> = undefined;
|