|
@@ -26,10 +26,10 @@ export class FVO_article {
|
|
|
'brief': string = undefined;
|
|
|
@ApiProperty({ description: '内容' })
|
|
|
'content': string = undefined;
|
|
|
- @ApiProperty({ description: '附件' })
|
|
|
- 'files': string = undefined;
|
|
|
@ApiProperty({ description: '备注' })
|
|
|
'remark': string = undefined;
|
|
|
+ @ApiProperty({ description: '发布时间' })
|
|
|
+ 'create_time': string = undefined;
|
|
|
@ApiProperty({ description: '是否使用' })
|
|
|
'is_use': string = undefined;
|
|
|
}
|
|
@@ -37,7 +37,7 @@ export class FVO_article {
|
|
|
export class QDTO_article extends SearchBase {
|
|
|
constructor() {
|
|
|
const like_prop = ['title'];
|
|
|
- const props = ['doctor', 'is_use'];
|
|
|
+ const props = ['doctor', 'create_time', 'is_use'];
|
|
|
const mapping = [];
|
|
|
super({ like_prop, props, mapping });
|
|
|
}
|
|
@@ -45,6 +45,8 @@ export class QDTO_article extends SearchBase {
|
|
|
'title': string = undefined;
|
|
|
@ApiProperty({ description: '医生' })
|
|
|
'doctor': string = undefined;
|
|
|
+ @ApiProperty({ description: '发布时间' })
|
|
|
+ 'create_time': string = undefined;
|
|
|
@ApiProperty({ description: '是否使用' })
|
|
|
'is_use': string = undefined;
|
|
|
}
|
|
@@ -75,12 +77,12 @@ export class CDTO_article {
|
|
|
@ApiProperty({ description: '内容' })
|
|
|
@Rule(RuleType['string']().empty(''))
|
|
|
'content': string = undefined;
|
|
|
- @ApiProperty({ description: '附件' })
|
|
|
- @Rule(RuleType['string']().empty(''))
|
|
|
- 'files': string = undefined;
|
|
|
@ApiProperty({ description: '备注' })
|
|
|
@Rule(RuleType['string']().empty(''))
|
|
|
'remark': string = undefined;
|
|
|
+ @ApiProperty({ description: '发布时间' })
|
|
|
+ @Rule(RuleType['string']().empty(''))
|
|
|
+ 'create_time': string = undefined;
|
|
|
@ApiProperty({ description: '是否使用' })
|
|
|
@Rule(RuleType['string']().empty(''))
|
|
|
'is_use': string = undefined;
|