|
@@ -21,6 +21,19 @@ import java.util.List;
|
|
*/
|
|
*/
|
|
public class DeviceNetRecordDto {
|
|
public class DeviceNetRecordDto {
|
|
|
|
|
|
|
|
+ @Data
|
|
|
|
+ @Accessors(chain = true)
|
|
|
|
+ public static class OffLineDevice {
|
|
|
|
+
|
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
+ @ApiModelProperty(value = "离线时间-起")
|
|
|
|
+ private LocalDateTime beginTime;
|
|
|
|
+
|
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
+ @ApiModelProperty(value = "离线时间-始")
|
|
|
|
+ private LocalDateTime endTime;
|
|
|
|
+ }
|
|
|
|
+
|
|
@Data
|
|
@Data
|
|
@Accessors(chain = true)
|
|
@Accessors(chain = true)
|
|
public static class Page extends Vo {
|
|
public static class Page extends Vo {
|
|
@@ -109,4 +122,24 @@ public class DeviceNetRecordDto {
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @Data
|
|
|
|
+ @Accessors(chain = true)
|
|
|
|
+ public static class OffLineDeviceVo {
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty(value = "设备id")
|
|
|
|
+ private Long deviceId;
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty(value = "商户id")
|
|
|
|
+ private Long mercId;
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty(value = "设备名称")
|
|
|
|
+ private String deviceName;
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty(value = "商户名称")
|
|
|
|
+ private String mercName;
|
|
|
|
+
|
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
+ @ApiModelProperty(value = "离线时间")
|
|
|
|
+ private LocalDateTime createTime;
|
|
|
|
+ }
|
|
}
|
|
}
|