zs 2 년 전
부모
커밋
dcef4deb3a
1개의 변경된 파일15개의 추가작업 그리고 1개의 파일을 삭제
  1. 15 1
      src/interface/relevantdownload.interface.ts

+ 15 - 1
src/interface/relevantdownload.interface.ts

@@ -32,7 +32,7 @@ export class FVO_relevantdownload {
 
 export class QDTO_relevantdownload extends SearchBase {
   constructor() {
-    const like_prop = [];
+    const like_prop = ['title', 'origin'];
     const props = [
       'user_id',
       'title',
@@ -45,6 +45,20 @@ export class QDTO_relevantdownload extends SearchBase {
     const mapping = [];
     super({ like_prop, props, mapping });
   }
+  @ApiProperty({ description: '绑定用户' })
+  'user_id': string = undefined;
+  @ApiProperty({ description: '标题' })
+  'title': string = undefined;
+  @ApiProperty({ description: '发布时间' })
+  'date': string = undefined;
+  @ApiProperty({ description: '来源' })
+  'origin': string = undefined;
+  @ApiProperty({ description: '文件' })
+  'file': Array<any> = undefined;
+  @ApiProperty({ description: '内容' })
+  'content': string = undefined;
+  @ApiProperty({ description: '是否启用' })
+  'is_use': string = undefined;
 }
 
 export class QVO_relevantdownload extends FVO_relevantdownload {