xiangpei
2024-03-18 5719d901b424f3b9b60f46731e7b1cd607dae733
ycl-pojo/src/main/java/com/ycl/platform/domain/entity/TMonitor.java
@@ -3,10 +3,9 @@
import annotation.Excel;
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 java.util.Date;
/**
 * 设备资产对象 t_monitor
@@ -86,8 +85,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;
    /** 管理单位 */
@@ -141,6 +140,71 @@
    /** 类型编码 : [131.摄像机编码;132.网络摄像机编码;] */
    @Excel(name = "类型编码 : [131.摄像机编码;132.网络摄像机编码;]")
    private Long lxbm;
    @Excel(name = "异常原因")
    private String reason;
    @Excel(name = "是否生成异常工单")
    private Long defaultOrder;
    @Excel(name ="异常恢复标识")
    private Long recovery;
    @Excel(name = "异常恢复时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date recoveryTime;
    private Long deptId;
    public Long getDeptId() {
        return deptId;
    }
    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }
    public Long getDefaultOrder() {
        return defaultOrder;
    }
    public void setDefaultOrder(Long defaultOrder) {
        this.defaultOrder = defaultOrder;
    }
    public void setInstalledTime(Date installedTime) {
        this.installedTime = installedTime;
    }
    public Date getInstalledTime() {
        return installedTime;
    }
    public Date getRecoveryTime() {
        return recoveryTime;
    }
    public void setRecoveryTime(Date recoveryTime) {
        this.recoveryTime = recoveryTime;
    }
    public Long getRecovery() {
        return recovery;
    }
    public void setRecovery(Long recovery) {
        this.recovery = recovery;
    }
    public String getReason() {
        return reason;
    }
    public void setReason(String reason) {
        this.reason = reason;
    }
    public void setId(Long id)
    {
@@ -295,15 +359,7 @@
    {
        return publicSecurity;
    }
    public void setInstalledTime(Date installedTime)
    {
        this.installedTime = installedTime;
    }
    public Date getInstalledTime()
    {
        return installedTime;
    }
    public void setManagementUnit(String managementUnit)
    {
        this.managementUnit = managementUnit;
@@ -424,38 +480,43 @@
    @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();
        return "TMonitor{" +
                "id=" + id +
                ", serialNumber='" + serialNumber + '\'' +
                ", name='" + name + '\'' +
                ", siteType=" + siteType +
                ", macAddr='" + macAddr + '\'' +
                ", ip='" + ip + '\'' +
                ", cameraFunType='" + cameraFunType + '\'' +
                ", longitude='" + longitude + '\'' +
                ", latitude='" + latitude + '\'' +
                ", cameraCaptureArea='" + cameraCaptureArea + '\'' +
                ", onState=" + onState +
                ", civilCode='" + civilCode + '\'' +
                ", integratedDevice=" + integratedDevice +
                ", cameraBrand=" + cameraBrand +
                ", address='" + address + '\'' +
                ", netWorking=" + netWorking +
                ", publicSecurity='" + publicSecurity + '\'' +
                ", installedTime=" + installedTime +
                ", managementUnit='" + managementUnit + '\'' +
                ", muContactInfo='" + muContactInfo + '\'' +
                ", storageDays=" + storageDays +
                ", monitorAzimuth=" + monitorAzimuth +
                ", scenePhotoAddr='" + scenePhotoAddr + '\'' +
                ", model='" + model + '\'' +
                ", siteVulgo='" + siteVulgo + '\'' +
                ", cameraType=" + cameraType +
                ", cameraLightType=" + cameraLightType +
                ", encodedFormat=" + encodedFormat +
                ", cameraDept='" + cameraDept + '\'' +
                ", hybm='" + hybm + '\'' +
                ", lxbm=" + lxbm +
                ", reason='" + reason + '\'' +
                ", defaultOrder=" + defaultOrder +
                ", recovery=" + recovery +
                ", recoveryTime=" + recoveryTime +
                ", deptId=" + deptId +
                '}';
    }
}