|
@@ -17,25 +17,31 @@ export class FVO_video {
|
|
|
@ApiProperty({ description: '标题' })
|
|
|
'title': string = undefined;
|
|
|
@ApiProperty({ description: '简介' })
|
|
|
- 'brief ': string = undefined;
|
|
|
+ 'brief': string = undefined;
|
|
|
@ApiProperty({ description: '视频来源' })
|
|
|
'sourse': string = undefined;
|
|
|
@ApiProperty({ description: '类型' })
|
|
|
'type': string = undefined;
|
|
|
@ApiProperty({ description: '封面' })
|
|
|
+ 'logo': Array<any> = undefined;
|
|
|
+ @ApiProperty({ description: '视频' })
|
|
|
'file': Array<any> = undefined;
|
|
|
@ApiProperty({ description: '播放次数' })
|
|
|
'number': number = undefined;
|
|
|
- @ApiProperty({ description: '概述' })
|
|
|
- 'summary': string = undefined;
|
|
|
- @ApiProperty({ description: '是否公开' })
|
|
|
- 'is_show': string = undefined;
|
|
|
+ @ApiProperty({ description: '内容' })
|
|
|
+ 'content': string = undefined;
|
|
|
+ @ApiProperty({ description: '发布时间' })
|
|
|
+ 'time': string = undefined;
|
|
|
+ @ApiProperty({ description: '是否使用' })
|
|
|
+ 'is_use': string = undefined;
|
|
|
+ @ApiProperty({ description: '状态' })
|
|
|
+ 'status': string = undefined;
|
|
|
}
|
|
|
|
|
|
export class QDTO_video extends SearchBase {
|
|
|
constructor() {
|
|
|
const like_prop = [];
|
|
|
- const props = ['title', 'number', 'is_show'];
|
|
|
+ const props = ['title', 'number', 'is_use'];
|
|
|
const mapping = [];
|
|
|
super({ like_prop, props, mapping });
|
|
|
}
|
|
@@ -43,8 +49,8 @@ export class QDTO_video extends SearchBase {
|
|
|
'title': string = undefined;
|
|
|
@ApiProperty({ description: '播放次数' })
|
|
|
'number': number = undefined;
|
|
|
- @ApiProperty({ description: '是否公开' })
|
|
|
- 'is_show': string = undefined;
|
|
|
+ @ApiProperty({ description: '是否使用' })
|
|
|
+ 'is_use': string = undefined;
|
|
|
}
|
|
|
|
|
|
export class QVO_video extends FVO_video {
|
|
@@ -60,7 +66,7 @@ export class CDTO_video {
|
|
|
'title': string = undefined;
|
|
|
@ApiProperty({ description: '简介' })
|
|
|
@Rule(RuleType['string']().empty(''))
|
|
|
- 'brief ': string = undefined;
|
|
|
+ 'brief': string = undefined;
|
|
|
@ApiProperty({ description: '视频来源' })
|
|
|
@Rule(RuleType['string']().empty(''))
|
|
|
'sourse': string = undefined;
|
|
@@ -69,16 +75,25 @@ export class CDTO_video {
|
|
|
'type': string = undefined;
|
|
|
@ApiProperty({ description: '封面' })
|
|
|
@Rule(RuleType['array']().empty(''))
|
|
|
+ 'logo': Array<any> = undefined;
|
|
|
+ @ApiProperty({ description: '视频' })
|
|
|
+ @Rule(RuleType['array']().empty(''))
|
|
|
'file': Array<any> = undefined;
|
|
|
@ApiProperty({ description: '播放次数' })
|
|
|
@Rule(RuleType['number']().empty(''))
|
|
|
'number': number = undefined;
|
|
|
- @ApiProperty({ description: '概述' })
|
|
|
+ @ApiProperty({ description: '内容' })
|
|
|
+ @Rule(RuleType['string']().empty(''))
|
|
|
+ 'content': string = undefined;
|
|
|
+ @ApiProperty({ description: '发布时间' })
|
|
|
+ @Rule(RuleType['string']().empty(''))
|
|
|
+ 'time': string = undefined;
|
|
|
+ @ApiProperty({ description: '是否使用' })
|
|
|
@Rule(RuleType['string']().empty(''))
|
|
|
- 'summary': string = undefined;
|
|
|
- @ApiProperty({ description: '是否公开' })
|
|
|
+ 'is_use': string = undefined;
|
|
|
+ @ApiProperty({ description: '状态' })
|
|
|
@Rule(RuleType['string']().empty(''))
|
|
|
- 'is_show': string = undefined;
|
|
|
+ 'status': string = undefined;
|
|
|
}
|
|
|
|
|
|
export class CVO_video extends FVO_video {
|