From f8889f7364adae89e45a5ec3fcf4b38e430cf389 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期二, 10 九月 2024 10:41:18 +0800 Subject: [PATCH] 工单详情 --- ycl-pojo/src/main/java/com/ycl/platform/domain/entity/TMonitor.java | 332 +----------------------------------------------------- 1 files changed, 11 insertions(+), 321 deletions(-) diff --git a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/TMonitor.java b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/TMonitor.java index 7803250..a233222 100644 --- a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/TMonitor.java +++ b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/TMonitor.java @@ -1,12 +1,14 @@ package com.ycl.platform.domain.entity; import annotation.Excel; +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.annotation.JsonFormat; import com.ycl.system.entity.BaseEntity; -import org.apache.commons.lang.builder.ToStringBuilder; -import org.apache.commons.lang.builder.ToStringStyle; +import lombok.Data; import java.util.Date; + /** * 璁惧璧勪骇瀵硅薄 t_monitor @@ -14,6 +16,7 @@ * @author ruoyi * @date 2024-03-04 */ +@Data public class TMonitor extends BaseEntity { private static final long serialVersionUID = 1L; @@ -49,7 +52,7 @@ @Excel(name = "璁惧缁忓害锛岃嚦灏戜繚鐣欏叚浣嶅皬鏁�") private String longitude; - /** 璁惧缁村害锛岃嚦灏戜繚鐣欏叚浣嶅皬鏁� */ + /** 璁惧绾害锛岃嚦灏戜繚鐣欏叚浣嶅皬鏁� */ @Excel(name = "璁惧缁村害锛岃嚦灏戜繚鐣欏叚浣嶅皬鏁�") private String latitude; @@ -86,8 +89,8 @@ private String publicSecurity; /** 瀹夎鏃堕棿 yyyy-MM-dd HH:mm:ss */ - @JsonFormat(pattern = "yyyy-MM-dd") - @Excel(name = "瀹夎鏃堕棿 yyyy-MM-dd HH:mm:ss", width = 30, dateFormat = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") + @Excel(name = "瀹夎鏃堕棿 yyyy-MM-dd HH:mm:ss", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") private Date installedTime; /** 绠$悊鍗曚綅 */ @@ -98,7 +101,7 @@ @Excel(name = "绠$悊鍗曚綅鑱旂郴鏂瑰紡") private String muContactInfo; - /** 褰曡薄淇濆瓨澶╂暟 0 - 2147483647 */ + /** 褰曞儚淇濆瓨澶╂暟 0 - 2147483647 */ @Excel(name = "褰曡薄淇濆瓨澶╂暟 0 - 2147483647") private Long storageDays; @@ -142,320 +145,7 @@ @Excel(name = "绫诲瀷缂栫爜 : [131.鎽勫儚鏈虹紪鐮�;132.缃戠粶鎽勫儚鏈虹紪鐮�;]") private Long lxbm; - public void setId(Long id) - { - this.id = id; - } + /** 璁惧鍘傚晢锛� 0娴峰悍 1澶у崕 2瀹囪*/ + private Integer deviceType; - public Long getId() - { - return id; - } - public void setSerialNumber(String serialNumber) - { - this.serialNumber = serialNumber; - } - - public String getSerialNumber() - { - return serialNumber; - } - public void setName(String name) - { - this.name = name; - } - - public String getName() - { - return name; - } - public void setSiteType(Long siteType) - { - this.siteType = siteType; - } - - public Long getSiteType() - { - return siteType; - } - public void setMacAddr(String macAddr) - { - this.macAddr = macAddr; - } - - public String getMacAddr() - { - return macAddr; - } - public void setIp(String ip) - { - this.ip = ip; - } - - public String getIp() - { - return ip; - } - public void setCameraFunType(String cameraFunType) - { - this.cameraFunType = cameraFunType; - } - - public String getCameraFunType() - { - return cameraFunType; - } - public void setLongitude(String longitude) - { - this.longitude = longitude; - } - - public String getLongitude() - { - return longitude; - } - public void setLatitude(String latitude) - { - this.latitude = latitude; - } - - public String getLatitude() - { - return latitude; - } - public void setCameraCaptureArea(String cameraCaptureArea) - { - this.cameraCaptureArea = cameraCaptureArea; - } - - public String getCameraCaptureArea() - { - return cameraCaptureArea; - } - public void setOnState(Long onState) - { - this.onState = onState; - } - - public Long getOnState() - { - return onState; - } - public void setCivilCode(String civilCode) - { - this.civilCode = civilCode; - } - - public String getCivilCode() - { - return civilCode; - } - public void setIntegratedDevice(Long integratedDevice) - { - this.integratedDevice = integratedDevice; - } - - public Long getIntegratedDevice() - { - return integratedDevice; - } - public void setCameraBrand(Long cameraBrand) - { - this.cameraBrand = cameraBrand; - } - - public Long getCameraBrand() - { - return cameraBrand; - } - public void setAddress(String address) - { - this.address = address; - } - - public String getAddress() - { - return address; - } - public void setNetWorking(Long netWorking) - { - this.netWorking = netWorking; - } - - public Long getNetWorking() - { - return netWorking; - } - public void setPublicSecurity(String publicSecurity) - { - this.publicSecurity = publicSecurity; - } - - public String getPublicSecurity() - { - return publicSecurity; - } - public void setInstalledTime(Date installedTime) - { - this.installedTime = installedTime; - } - - public Date getInstalledTime() - { - return installedTime; - } - public void setManagementUnit(String managementUnit) - { - this.managementUnit = managementUnit; - } - - public String getManagementUnit() - { - return managementUnit; - } - public void setMuContactInfo(String muContactInfo) - { - this.muContactInfo = muContactInfo; - } - - public String getMuContactInfo() - { - return muContactInfo; - } - public void setStorageDays(Long storageDays) - { - this.storageDays = storageDays; - } - - public Long getStorageDays() - { - return storageDays; - } - public void setMonitorAzimuth(Long monitorAzimuth) - { - this.monitorAzimuth = monitorAzimuth; - } - - public Long getMonitorAzimuth() - { - return monitorAzimuth; - } - public void setScenePhotoAddr(String scenePhotoAddr) - { - this.scenePhotoAddr = scenePhotoAddr; - } - - public String getScenePhotoAddr() - { - return scenePhotoAddr; - } - public void setModel(String model) - { - this.model = model; - } - - public String getModel() - { - return model; - } - public void setSiteVulgo(String siteVulgo) - { - this.siteVulgo = siteVulgo; - } - - public String getSiteVulgo() - { - return siteVulgo; - } - public void setCameraType(Long cameraType) - { - this.cameraType = cameraType; - } - - public Long getCameraType() - { - return cameraType; - } - public void setCameraLightType(Long cameraLightType) - { - this.cameraLightType = cameraLightType; - } - - public Long getCameraLightType() - { - return cameraLightType; - } - public void setEncodedFormat(Long encodedFormat) - { - this.encodedFormat = encodedFormat; - } - - public Long getEncodedFormat() - { - return encodedFormat; - } - public void setCameraDept(String cameraDept) - { - this.cameraDept = cameraDept; - } - - public String getCameraDept() - { - return cameraDept; - } - public void setHybm(String hybm) - { - this.hybm = hybm; - } - - public String getHybm() - { - return hybm; - } - public void setLxbm(Long lxbm) - { - this.lxbm = lxbm; - } - - public Long getLxbm() - { - return lxbm; - } - - @Override - public String toString() { - return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) - .append("id", getId()) - .append("serialNumber", getSerialNumber()) - .append("name", getName()) - .append("siteType", getSiteType()) - .append("macAddr", getMacAddr()) - .append("ip", getIp()) - .append("cameraFunType", getCameraFunType()) - .append("longitude", getLongitude()) - .append("latitude", getLatitude()) - .append("cameraCaptureArea", getCameraCaptureArea()) - .append("onState", getOnState()) - .append("civilCode", getCivilCode()) - .append("integratedDevice", getIntegratedDevice()) - .append("cameraBrand", getCameraBrand()) - .append("address", getAddress()) - .append("netWorking", getNetWorking()) - .append("publicSecurity", getPublicSecurity()) - .append("installedTime", getInstalledTime()) - .append("managementUnit", getManagementUnit()) - .append("muContactInfo", getMuContactInfo()) - .append("storageDays", getStorageDays()) - .append("monitorAzimuth", getMonitorAzimuth()) - .append("scenePhotoAddr", getScenePhotoAddr()) - .append("model", getModel()) - .append("siteVulgo", getSiteVulgo()) - .append("cameraType", getCameraType()) - .append("cameraLightType", getCameraLightType()) - .append("encodedFormat", getEncodedFormat()) - .append("cameraDept", getCameraDept()) - .append("hybm", getHybm()) - .append("lxbm", getLxbm()) - .toString(); - } } -- Gitblit v1.8.0