lrf 2 年之前
父节点
当前提交
a2165113b0
共有 1 个文件被更改,包括 3 次插入1 次删除
  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 {
   constructor() {
     const like_prop = [];
-    const props = ['room', 'speaker', 'time'];
+    const props = ['room', 'speaker', 'time', 'is_read'];
     const mapping = [];
     super({ like_prop, props, mapping });
   }
@@ -37,6 +37,8 @@ export class QueryDTO_chatRecord extends SearchBase {
   'speaker': string = undefined;
   @ApiProperty({ description: '时间' })
   'time': string = undefined;
+  @ApiProperty({ description: '是否已读' })
+  'is_read': string = undefined;
 }
 
 export class QueryVO_chatRecord extends FetchVO_chatRecord {}