lrf 2 years ago
parent
commit
a2165113b0
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/interface/chatRecord.interface.ts

+ 3 - 1
src/interface/chatRecord.interface.ts

@@ -27,7 +27,7 @@ export class FetchVO_chatRecord {
 export class QueryDTO_chatRecord extends SearchBase {
 export class QueryDTO_chatRecord extends SearchBase {
   constructor() {
   constructor() {
     const like_prop = [];
     const like_prop = [];
-    const props = ['room', 'speaker', 'time'];
+    const props = ['room', 'speaker', 'time', 'is_read'];
     const mapping = [];
     const mapping = [];
     super({ like_prop, props, mapping });
     super({ like_prop, props, mapping });
   }
   }
@@ -37,6 +37,8 @@ export class QueryDTO_chatRecord extends SearchBase {
   'speaker': string = undefined;
   'speaker': string = undefined;
   @ApiProperty({ description: '时间' })
   @ApiProperty({ description: '时间' })
   'time': string = undefined;
   'time': string = undefined;
+  @ApiProperty({ description: '是否已读' })
+  'is_read': string = undefined;
 }
 }
 
 
 export class QueryVO_chatRecord extends FetchVO_chatRecord {}
 export class QueryVO_chatRecord extends FetchVO_chatRecord {}