|
|
@@ -1,51 +1,26 @@
|
|
|
package com.genersoft.iot.vmp.gb28181.bean;
|
|
|
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
+import lombok.Data;
|
|
|
|
|
|
/**
|
|
|
* 摄像机同步状态
|
|
|
* @author lin
|
|
|
*/
|
|
|
+@Data
|
|
|
@Schema(description = "摄像机同步状态")
|
|
|
public class SyncStatus {
|
|
|
+
|
|
|
@Schema(description = "总数")
|
|
|
- private int total;
|
|
|
+ private Integer total;
|
|
|
+
|
|
|
@Schema(description = "当前更新多少")
|
|
|
- private int current;
|
|
|
+ private Integer current;
|
|
|
+
|
|
|
@Schema(description = "错误描述")
|
|
|
private String errorMsg;
|
|
|
- @Schema(description = "是否同步中")
|
|
|
- private boolean syncIng;
|
|
|
-
|
|
|
- public int getTotal() {
|
|
|
- return total;
|
|
|
- }
|
|
|
-
|
|
|
- public void setTotal(int total) {
|
|
|
- this.total = total;
|
|
|
- }
|
|
|
|
|
|
- public int getCurrent() {
|
|
|
- return current;
|
|
|
- }
|
|
|
-
|
|
|
- public void setCurrent(int current) {
|
|
|
- this.current = current;
|
|
|
- }
|
|
|
-
|
|
|
- public String getErrorMsg() {
|
|
|
- return errorMsg;
|
|
|
- }
|
|
|
-
|
|
|
- public void setErrorMsg(String errorMsg) {
|
|
|
- this.errorMsg = errorMsg;
|
|
|
- }
|
|
|
-
|
|
|
- public boolean isSyncIng() {
|
|
|
- return syncIng;
|
|
|
- }
|
|
|
+ @Schema(description = "是否同步中")
|
|
|
+ private Boolean syncIng;
|
|
|
|
|
|
- public void setSyncIng(boolean syncIng) {
|
|
|
- this.syncIng = syncIng;
|
|
|
- }
|
|
|
}
|