|
@@ -20,15 +20,27 @@ export class FVO_Office {
|
|
|
'address': string = undefined;
|
|
|
@ApiProperty({ description: '所属' })
|
|
|
'belong': string = undefined;
|
|
|
+ @ApiProperty({ description: '类型' })
|
|
|
+ 'type': string = undefined;
|
|
|
+ @ApiProperty({ description: '是否使用' })
|
|
|
+ 'is_use': string = undefined;
|
|
|
}
|
|
|
|
|
|
export class QDTO_Office extends SearchBase {
|
|
|
constructor() {
|
|
|
const like_prop = [];
|
|
|
- const props = [];
|
|
|
+ const props = ['name', 'belong', 'type', 'is_use'];
|
|
|
const mapping = [];
|
|
|
super({ like_prop, props, mapping });
|
|
|
}
|
|
|
+ @ApiProperty({ description: '办公处名' })
|
|
|
+ 'name': string = undefined;
|
|
|
+ @ApiProperty({ description: '所属' })
|
|
|
+ 'belong': string = undefined;
|
|
|
+ @ApiProperty({ description: '类型' })
|
|
|
+ 'type': string = undefined;
|
|
|
+ @ApiProperty({ description: '是否使用' })
|
|
|
+ 'is_use': string = undefined;
|
|
|
}
|
|
|
|
|
|
export class QVO_Office extends FVO_Office {
|
|
@@ -48,6 +60,12 @@ export class CDTO_Office {
|
|
|
@ApiProperty({ description: '所属' })
|
|
|
@Rule(RuleType['string']().empty(''))
|
|
|
'belong': string = undefined;
|
|
|
+ @ApiProperty({ description: '类型' })
|
|
|
+ @Rule(RuleType['string']().empty(''))
|
|
|
+ 'type': string = undefined;
|
|
|
+ @ApiProperty({ description: '是否使用' })
|
|
|
+ @Rule(RuleType['string']().empty(''))
|
|
|
+ 'is_use': string = undefined;
|
|
|
}
|
|
|
|
|
|
export class CVO_Office extends FVO_Office {
|