THiddenTrouble.java 5.35 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
package com.zehong.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zehong.common.annotation.Excel;
import com.zehong.common.core.domain.BaseEntity;

/**
 * 隐患信息对象 t_hidden_trouble
 * 
 * @author zehong
王晓倩's avatar
王晓倩 committed
13
 * @date 2021-08-20
14 15 16 17 18 19
 */
public class THiddenTrouble extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 隐患信息id */
20
    private Integer troubleId;
21

王晓倩's avatar
王晓倩 committed
22 23 24
    /** 隐患类型 */
    @Excel(name = "隐患类型")
    private String troubleType;
25

王晓倩's avatar
王晓倩 committed
26 27 28 29 30 31 32
    /** 隐患名称 */
    @Excel(name = "隐患名称")
    private String troubleName;

    /** 隐患级别 */
    @Excel(name = "隐患级别")
    private String troubleLevel;
33 34 35 36 37

    /** 工单id */
    @Excel(name = "工单id")
    private String orderId;

王晓倩's avatar
王晓倩 committed
38 39 40 41 42 43 44
    /** 设备id */
    @Excel(name = "设备id")
    private Integer deviceId;

    /** 设备类型(0管道,1调压阀,2阀门井,3流量计,4压力表) */
    @Excel(name = "设备类型", readConverterExp = "0=管道,1调压阀,2阀门井,3流量计,4压力表")
    private String deviceType;
王晓倩's avatar
王晓倩 committed
45

46 47 48 49 50 51 52 53
    /** 经度 */
    @Excel(name = "经度")
    private BigDecimal longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private BigDecimal latitude;

王晓倩's avatar
王晓倩 committed
54 55 56 57
    /** 是否作废(0正常,1作废) */
    @Excel(name = "是否作废(0正常,1作废)")
    private String isDel;

58
    /** 处理状态(1不需处理,2已处理完成,3未处理完成) */
59
    @Excel(name = "处理状态", readConverterExp = "1不需处理,2已处理完成,3未处理完成")
60 61
    private String dealStatus;

王晓倩's avatar
王晓倩 committed
62 63 64 65
    /** 地址 */
    @Excel(name = "地址")
    private String address;

66 67 68 69
    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

王晓倩's avatar
王晓倩 committed
70 71 72 73 74 75 76 77
    /** 图片地址 */
    @Excel(name = "图片地址")
    private String pictureUrl;

    /** 上报人(用户id) */
    @Excel(name = "上报人", readConverterExp = "用户id")
    private Long reportMan;

78
    public void setTroubleId(Integer troubleId)
79 80 81 82
    {
        this.troubleId = troubleId;
    }

83
    public Integer getTroubleId()
84 85 86
    {
        return troubleId;
    }
王晓倩's avatar
王晓倩 committed
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104

    public String getTroubleName() {
        return troubleName;
    }

    public void setTroubleName(String troubleName) {
        this.troubleName = troubleName;
    }

    public void setTroubleType(String troubleType)
    {
        this.troubleType = troubleType;
    }

    public String getTroubleType() 
    {
        return troubleType;
    }
105
    public void setDeviceId(Integer deviceId)
106
    {
107
        this.deviceId = deviceId;
108 109
    }

110
    public Integer getDeviceId()
111
    {
112
        return deviceId;
113
    }
王晓倩's avatar
王晓倩 committed
114 115 116
    public void setTroubleLevel(String troubleLevel) 
    {
        this.troubleLevel = troubleLevel;
117 118
    }

王晓倩's avatar
王晓倩 committed
119 120 121
    public String getTroubleLevel() 
    {
        return troubleLevel;
122
    }
王晓倩's avatar
王晓倩 committed
123
    public void setOrderId(String orderId) 
124 125 126 127 128 129 130 131
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }
王晓倩's avatar
王晓倩 committed
132
    public void setLongitude(BigDecimal longitude) 
133 134 135 136 137 138 139 140
    {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude() 
    {
        return longitude;
    }
王晓倩's avatar
王晓倩 committed
141 142 143 144 145 146 147 148 149
    public void setDeviceType(String deviceType) 
    {
        this.deviceType = deviceType;
    }

    public String getDeviceType() 
    {
        return deviceType;
    }
150 151 152 153 154 155 156 157 158
    public void setLatitude(BigDecimal latitude) 
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude() 
    {
        return latitude;
    }
159

王晓倩's avatar
王晓倩 committed
160 161 162 163 164 165 166 167
    public String getIsDel() {
        return isDel;
    }

    public void setIsDel(String isDel) {
        this.isDel = isDel;
    }

168
    public void setDealStatus(String dealStatus)
169 170 171 172 173 174 175 176
    {
        this.dealStatus = dealStatus;
    }

    public String getDealStatus() 
    {
        return dealStatus;
    }
王晓倩's avatar
王晓倩 committed
177 178 179 180 181 182 183 184 185
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
186 187 188 189 190 191 192 193 194
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
王晓倩's avatar
王晓倩 committed
195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212
    public void setPictureUrl(String pictureUrl) 
    {
        this.pictureUrl = pictureUrl;
    }

    public String getPictureUrl() 
    {
        return pictureUrl;
    }
    public void setReportMan(Long reportMan) 
    {
        this.reportMan = reportMan;
    }

    public Long getReportMan() 
    {
        return reportMan;
    }
213 214 215 216 217

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("troubleId", getTroubleId())
王晓倩's avatar
王晓倩 committed
218
            .append("troubleType", getTroubleType())
219
            .append("deviceId", getDeviceId())
王晓倩's avatar
王晓倩 committed
220
            .append("troubleLevel", getTroubleLevel())
221 222
            .append("orderId", getOrderId())
            .append("longitude", getLongitude())
王晓倩's avatar
王晓倩 committed
223
            .append("deviceType", getDeviceType())
224 225 226
            .append("latitude", getLatitude())
            .append("dealStatus", getDealStatus())
            .append("updateTime", getUpdateTime())
王晓倩's avatar
王晓倩 committed
227
            .append("address", getAddress())
228 229
            .append("createTime", getCreateTime())
            .append("remarks", getRemarks())
王晓倩's avatar
王晓倩 committed
230 231
            .append("pictureUrl", getPictureUrl())
            .append("reportMan", getReportMan())
232 233 234
            .toString();
    }
}