hxd 2 mesi fa
parent
commit
0dc57d4882

+ 7 - 0
portal-service-common/src/main/java/com/hfln/portal/common/dto/data/event/AlarmEventDTO.java

@@ -1,6 +1,7 @@
 package com.hfln.portal.common.dto.data.event;
 
 import com.hfln.portal.common.vo.BaseVO;
+import io.swagger.v3.oas.annotations.media.Schema;
 import lombok.Data;
 import lombok.EqualsAndHashCode;
 
@@ -11,31 +12,37 @@ public class AlarmEventDTO extends BaseVO {
     /**
      * 告警表主键ID
      */
+    @Schema(description = "告警表主键ID")
     private Long alarmEventId;
 
     /**
      * 设备表主键ID
      */
+    @Schema(description = "设备表主键ID")
     private Long devId;
 
     /**
      * 姿势
      */
+    @Schema(description = "姿势")
     private Byte pose;
 
     /**
      * 停留时间表主键id
      */
+    @Schema(description = "事件表主键id")
     private Long stayTimeId;
 
     /**
      * 告警类型
      */
+    @Schema(description = "告警类型")
     private String eventType;
 
 
     /**
      * 是否处理
      */
+    @Schema(description = "是否处理:0-未处理,1-已处理")
     private Integer isHandle;
 }