THiddenTrouble.java 3.72 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
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
 * @date 2021-07-21
 */
public class THiddenTrouble extends BaseEntity
{
    private static final long serialVersionUID = 1L;

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

22 23 24 25 26 27
    /** 设备编号 */
    @Excel(name = "设备编号")
    private String deviceCode;

    /** 设备类型(0管道,1调压阀,2阀门井,3流量计,4压力表) */
    private String deviceType;
28 29 30 31 32

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

王晓倩's avatar
王晓倩 committed
33 34 35 36
    /** 地址 */
    @Excel(name = "地址")
    private String address;

37 38 39 40 41 42 43 44
    /** 经度 */
    @Excel(name = "经度")
    private BigDecimal longitude;

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

45 46 47 48
    /** 坐标 */
    @Excel(name = "坐标")
    private String coordinates;

49 50 51 52 53 54 55 56
    /** 处理状态(1不需处理,2已处理完成,3未处理完成) */
    @Excel(name = "处理状态", readConverterExp = "1=不需处理,2已处理完成,3未处理完成")
    private String dealStatus;

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

57
    public void setTroubleId(int troubleId)
58 59 60 61
    {
        this.troubleId = troubleId;
    }

62
    public int getTroubleId()
63 64 65
    {
        return troubleId;
    }
66
    public void setDeviceCode(String deviceCode)
67
    {
68
        this.deviceCode = deviceCode;
69 70
    }

71
    public String getDeviceCode()
72
    {
73 74 75 76 77 78 79 80 81
        return deviceCode;
    }

    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
82
    }
83 84

    public void setOrderId(String orderId)
85 86 87 88 89 90 91 92
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }
王晓倩's avatar
王晓倩 committed
93 94 95 96 97 98 99 100 101 102

    public String getAddress() {
        return address;
    }

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

    public void setLongitude(BigDecimal longitude)
103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119
    {
        this.longitude = longitude;
    }

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

    public BigDecimal getLatitude() 
    {
        return latitude;
    }
120 121 122 123 124 125 126 127 128 129

    public String getCoordinates() {
        return coordinates;
    }

    public void setCoordinates(String coordinates) {
        this.coordinates = coordinates;
    }

    public void setDealStatus(String dealStatus)
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151
    {
        this.dealStatus = dealStatus;
    }

    public String getDealStatus() 
    {
        return dealStatus;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("troubleId", getTroubleId())
152 153
            .append("deviceCode", getDeviceCode())
            .append("deviceType", getDeviceType())
154
            .append("orderId", getOrderId())
王晓倩's avatar
王晓倩 committed
155
            .append("address", getAddress())
156 157
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
158
            .append("coordinates", getCoordinates())
159 160 161 162 163 164 165
            .append("dealStatus", getDealStatus())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .append("remarks", getRemarks())
            .toString();
    }
}