|
@@ -2,6 +2,7 @@ package com.hfln.portal.common.dto.data.event;
|
|
|
|
|
|
|
|
|
import com.hfln.portal.common.vo.BaseDto;
|
|
|
+import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
import lombok.Data;
|
|
|
import lombok.EqualsAndHashCode;
|
|
|
|
|
@@ -15,42 +16,51 @@ public class StayTimeDTO extends BaseDto {
|
|
|
/**
|
|
|
* stay_time表主键id
|
|
|
*/
|
|
|
+ @Schema(description = "stay_time表主键id")
|
|
|
private Long stayTimeId;
|
|
|
|
|
|
/**
|
|
|
* 设备表主键id
|
|
|
*/
|
|
|
+ @Schema(description = "设备表主键id")
|
|
|
private Long devId;
|
|
|
|
|
|
/**
|
|
|
* 设备客户端id
|
|
|
*/
|
|
|
+ @Schema(description = "设备clientId")
|
|
|
private String clientId;
|
|
|
|
|
|
/**
|
|
|
* 设备名称
|
|
|
*/
|
|
|
+ @Schema(description = "设备名称")
|
|
|
private String devName;
|
|
|
|
|
|
/**
|
|
|
* 停留类型
|
|
|
*/
|
|
|
+ @Schema(description = "停留类型")
|
|
|
private Integer type;
|
|
|
|
|
|
/**
|
|
|
* 进入时间
|
|
|
*/
|
|
|
+ @Schema(description = "进入时间")
|
|
|
private LocalDateTime enterTime;
|
|
|
|
|
|
/**
|
|
|
* 离开时间
|
|
|
*/
|
|
|
+ @Schema(description = "离开时间")
|
|
|
private LocalDateTime leaveTime;
|
|
|
|
|
|
/**
|
|
|
* 停留时长(秒)
|
|
|
*/
|
|
|
+ @Schema(description = "停留时长(秒)")
|
|
|
private Integer stayTime;
|
|
|
|
|
|
+ @Schema(description = "子停留信息")
|
|
|
private List<StayTimeDTO> childStayTime;
|
|
|
}
|