|
@@ -26,12 +26,14 @@ export class FVO_Specs {
|
|
|
'status': string = undefined;
|
|
|
@ApiProperty({ description: '图片' })
|
|
|
'file': Array<any> = undefined;
|
|
|
+ @ApiProperty({ description: '是否使用' })
|
|
|
+ 'is_use': string = undefined;
|
|
|
}
|
|
|
|
|
|
export class QDTO_Specs extends SearchBase {
|
|
|
constructor() {
|
|
|
const like_prop = [];
|
|
|
- const props = ['goods', 'name', 'status'];
|
|
|
+ const props = ['goods', 'name', 'is_use'];
|
|
|
const mapping = [];
|
|
|
super({ like_prop, props, mapping });
|
|
|
}
|
|
@@ -39,8 +41,8 @@ export class QDTO_Specs extends SearchBase {
|
|
|
'goods': string = undefined;
|
|
|
@ApiProperty({ description: '规格名称' })
|
|
|
'name': string = undefined;
|
|
|
- @ApiProperty({ description: '状态' })
|
|
|
- 'status': string = undefined;
|
|
|
+ @ApiProperty({ description: '是否使用' })
|
|
|
+ 'is_use': string = undefined;
|
|
|
}
|
|
|
|
|
|
export class QVO_Specs extends FVO_Specs {
|
|
@@ -63,12 +65,12 @@ export class CDTO_Specs {
|
|
|
@ApiProperty({ description: '库存' })
|
|
|
@Rule(RuleType['number']().empty(''))
|
|
|
'num': number = undefined;
|
|
|
- @ApiProperty({ description: '状态' })
|
|
|
- @Rule(RuleType['string']().empty(''))
|
|
|
- 'status': string = undefined;
|
|
|
@ApiProperty({ description: '图片' })
|
|
|
@Rule(RuleType['array']().empty(''))
|
|
|
'file': Array<any> = undefined;
|
|
|
+ @ApiProperty({ description: '是否使用' })
|
|
|
+ @Rule(RuleType['string']().empty(''))
|
|
|
+ 'is_use': string = undefined;
|
|
|
}
|
|
|
|
|
|
export class CVO_Specs extends FVO_Specs {
|