HiddenTroubleVo.java 6.77 KB
Newer Older
王晓倩's avatar
王晓倩 committed
1 2
package com.zehong.system.domain.vo;

3
import com.fasterxml.jackson.annotation.JsonFormat;
王晓倩's avatar
王晓倩 committed
4 5
import com.zehong.common.annotation.Excel;
import com.zehong.common.core.domain.BaseEntity;
6
import com.zehong.system.domain.TOrderFeedback;
王晓倩's avatar
王晓倩 committed
7 8 9 10
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
11 12
import java.util.Date;
import java.util.List;
王晓倩's avatar
王晓倩 committed
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40

/**
 * 隐患信息对象 t_hidden_trouble
 * 
 * @author zehong
 * @date 2021-08-20
 */
public class HiddenTroubleVo extends BaseEntity
{
    /** 隐患信息id */
    private Integer troubleId;

    /** 隐患类型 */
    @Excel(name = "隐患类型")
    private String troubleType;

    /** 隐患名称 */
    @Excel(name = "隐患名称")
    private String troubleName;

    /** 隐患级别 */
    @Excel(name = "隐患级别")
    private String troubleLevel;

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

41 42 43 44 45 46 47 48
    /** 指定执行人员姓名 */
    private String appointInspectorName;

    /** 下发时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date allotTime;

    /** 反馈信息列表 */
49
    private List<TOrderFeedback> feedbackList;
50

王晓倩's avatar
王晓倩 committed
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151
    /** 设备id */
    @Excel(name = "设备id")
    private Integer deviceId;

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

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String deviceName;

    /** 经度 */
    @Excel(name = "经度")
    private BigDecimal longitude;

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

    /** 是否作废(0正常,1作废) */
    @Excel(name = "是否作废(0正常,1作废)")
    private String isDel;

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

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String pictureUrl;

    /** 上报人(用户id) */
    private Long reportMan;

    /** 上报人姓名 */
    @Excel(name = "上报人姓名", readConverterExp = "上报人姓名")
    private String reportManName;

    public void setTroubleId(Integer troubleId)
    {
        this.troubleId = troubleId;
    }

    public Integer getTroubleId()
    {
        return troubleId;
    }

    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;
    }
    public void setDeviceId(Integer deviceId)
    {
        this.deviceId = deviceId;
    }

    public Integer getDeviceId()
    {
        return deviceId;
    }
    public void setTroubleLevel(String troubleLevel) 
    {
        this.troubleLevel = troubleLevel;
    }

    public String getTroubleLevel() 
    {
        return troubleLevel;
    }
    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }
152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168

    public String getAppointInspectorName() {
        return appointInspectorName;
    }

    public void setAppointInspectorName(String appointInspectorName) {
        this.appointInspectorName = appointInspectorName;
    }

    public Date getAllotTime() {
        return allotTime;
    }

    public void setAllotTime(Date allotTime) {
        this.allotTime = allotTime;
    }

169
    public List<TOrderFeedback> getFeedbackList() {
170 171 172
        return feedbackList;
    }

173
    public void setFeedbackList(List<TOrderFeedback> feedbackList) {
174 175 176 177
        this.feedbackList = feedbackList;
    }

    public void setLongitude(BigDecimal longitude)
王晓倩's avatar
王晓倩 committed
178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296
    {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude() 
    {
        return longitude;
    }
    public void setDeviceType(String deviceType) 
    {
        this.deviceType = deviceType;
    }

    public String getDeviceType() 
    {
        return deviceType;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public void setLatitude(BigDecimal latitude)
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude() 
    {
        return latitude;
    }

    public String getIsDel() {
        return isDel;
    }

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

    public void setDealStatus(String dealStatus)
    {
        this.dealStatus = dealStatus;
    }

    public String getDealStatus() 
    {
        return dealStatus;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    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;
    }

    public String getReportManName() {
        return reportManName;
    }

    public void setReportManName(String reportManName) {
        this.reportManName = reportManName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("troubleId", getTroubleId())
            .append("troubleType", getTroubleType())
            .append("deviceId", getDeviceId())
            .append("troubleLevel", getTroubleLevel())
            .append("orderId", getOrderId())
            .append("longitude", getLongitude())
            .append("deviceType", getDeviceType())
            .append("latitude", getLatitude())
            .append("dealStatus", getDealStatus())
            .append("updateTime", getUpdateTime())
            .append("address", getAddress())
            .append("createTime", getCreateTime())
            .append("remarks", getRemarks())
            .append("pictureUrl", getPictureUrl())
            .append("reportMan", getReportMan())
            .toString();
    }
}