|
@@ -7,7 +7,6 @@ import com.qmth.themis.business.enums.MonitorStatusSourceEnum;
|
|
|
import com.qmth.themis.business.enums.WebsocketStatusEnum;
|
|
|
import io.swagger.annotations.ApiModel;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
-import org.jetbrains.annotations.NotNull;
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
import java.util.Objects;
|
|
@@ -20,7 +19,7 @@ import java.util.Objects;
|
|
|
* @Date: 2020/8/22
|
|
|
*/
|
|
|
@ApiModel("实时监控台视频返回对象")
|
|
|
-public class InvigilateListVideoBean implements Serializable, Comparable<InvigilateListVideoBean> {
|
|
|
+public class InvigilateListVideoBean implements Serializable {
|
|
|
|
|
|
@ApiModelProperty(name = "序号")
|
|
|
private Integer seq;
|
|
@@ -389,15 +388,4 @@ public class InvigilateListVideoBean implements Serializable, Comparable<Invigil
|
|
|
public void setBreachStatus(Integer breachStatus) {
|
|
|
this.breachStatus = breachStatus;
|
|
|
}
|
|
|
-
|
|
|
- @Override
|
|
|
- public int compareTo(@NotNull InvigilateListVideoBean o) {
|
|
|
- if (Objects.nonNull(o.getMonitorLiveUrl())) {
|
|
|
- return 1;
|
|
|
- }
|
|
|
- if (Objects.isNull(o.getMonitorLiveUrl())) {
|
|
|
- return -1;
|
|
|
- }
|
|
|
- return 0;
|
|
|
- }
|
|
|
}
|