2021与蓝度共同重构项目,服务端
zhanzhiqin
2021-12-22 3f95846ca34bf97b00346417c99b1549293b72d2
dao/src/main/java/com/sandu/ximon/dao/domain/YSY_MonitorDto.java
@@ -1,6 +1,5 @@
package com.sandu.ximon.dao.domain;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
@@ -14,43 +13,21 @@
public class YSY_MonitorDto {
    private String code;
    private String msg;
    private data data;
    private MonitorDto data;
    public class data {
//        {
//            "deviceSerial": "F34465099",
//                "deviceName": "DS-2DE4223IW-DE(F34465099)",
//                "localName": "DS-2DE4223IW-DE(F34465099)",
//                "model": "DS-2DE4223IW-DE",
//                "status": 1,
//                "defence": 0,
//                "isEncrypt": 1,
//                "alarmSoundMode": 0,
//                "offlineNotify": 0,
//                "category": "UNKNOWN",
//                "parentCategory": "COMMON",
//                "updateTime": 1612337396000,
//                "netType": null,
//                "signal": null,
//                "riskLevel": 0,
//                "netAddress": "119.132.57.169"
//        }
    @NoArgsConstructor
    @Data
    public class MonitorDto {
        /**
         * 萤石云摄像头相关参数开始
         */
        private String deviceSerial;
        private String deviceName;
        private String localName;
        private String model;
        private Integer status;
        private Integer defence;
        private Integer isEncrypt;
        private Integer alarmSoundMode;
        private Integer offlineNotify;
        private String category;
        private String parentCategory;
        private LocalDateTime updateTime;
//        private Object netType;
//        private Object signal;
        private Integer riskLevel;
        private String netAddress;
        public String getDeviceSerial() {
@@ -69,14 +46,6 @@
            this.deviceName = deviceName;
        }
        public String getLocalName() {
            return localName;
        }
        public void setLocalName(String localName) {
            this.localName = localName;
        }
        public String getModel() {
            return model;
        }
@@ -93,52 +62,12 @@
            this.status = status;
        }
        public Integer getDefence() {
            return defence;
        }
        public void setDefence(Integer defence) {
            this.defence = defence;
        }
        public Integer getIsEncrypt() {
            return isEncrypt;
        }
        public void setIsEncrypt(Integer isEncrypt) {
            this.isEncrypt = isEncrypt;
        }
        public Integer getAlarmSoundMode() {
            return alarmSoundMode;
        }
        public void setAlarmSoundMode(Integer alarmSoundMode) {
            this.alarmSoundMode = alarmSoundMode;
        }
        public Integer getOfflineNotify() {
            return offlineNotify;
        }
        public void setOfflineNotify(Integer offlineNotify) {
            this.offlineNotify = offlineNotify;
        }
        public String getCategory() {
            return category;
        }
        public void setCategory(String category) {
            this.category = category;
        }
        public String getParentCategory() {
            return parentCategory;
        }
        public void setParentCategory(String parentCategory) {
            this.parentCategory = parentCategory;
        }
        public LocalDateTime getUpdateTime() {
@@ -149,14 +78,6 @@
            this.updateTime = updateTime;
        }
        public Integer getRiskLevel() {
            return riskLevel;
        }
        public void setRiskLevel(Integer riskLevel) {
            this.riskLevel = riskLevel;
        }
        public String getNetAddress() {
            return netAddress;
        }
@@ -164,6 +85,45 @@
        public void setNetAddress(String netAddress) {
            this.netAddress = netAddress;
        }
        /**
         * 萤石云摄像头相关参数结束
         */
        /**
         * 萤石云摄像头播放地址相关参数开始
         */
        private String id;
        private String url;
        private String expireTime;
        public String getId() {
            return id;
        }
        public void setId(String id) {
            this.id = id;
        }
        public String getUrl() {
            return url;
        }
        public void setUrl(String url) {
            this.url = url;
        }
        public String getExpireTime() {
            return expireTime;
        }
        public void setExpireTime(String expireTime) {
            this.expireTime = expireTime;
        }
/**
         * 萤石云摄像头播放地址相关参数结束
         */
    }
}