TPipe.java 5.11 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
package com.zehong.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
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_pipe
 * 
 * @author zehong
 * @date 2021-07-08
 */
public class TPipe extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 管道id */
21
    private Integer pipeId;
22 23 24

    /** 企业id */
    @Excel(name = "企业id")
25
    private Integer enterpriseId;
26 27 28 29 30

    /** 管道名称 */
    @Excel(name = "管道名称")
    private String pipeName;

31 32 33 34
    /** 管道编号 */
    @Excel(name = "管道编号")
    private String pipeCode;

35 36 37 38 39 40 41 42 43 44
    /** 管道所在地址 */
    @Excel(name = "管道所在地址")
    private String pipeAddr;

    /** 坐标 */
    @Excel(name = "坐标")
    private String coordinates;

    /** 管道长度 */
    @Excel(name = "管道长度")
45
    private double pipeLength;
46 47

    /** 管道类型(1地埋管线、2地表管线) */
48
    @Excel(name = "管道类型", readConverterExp = "1地埋管线、2地表管线")
49 50 51
    private String pipeType;

    /** 管道压力(低压,中压,次高压,高压) */
52
    @Excel(name = "管道压力", readConverterExp = "1低压,2中压,3次高压,4高压")
53 54 55 56 57 58 59
    private String pipePressure;

    /** 设备图片路径 */
    @Excel(name = "设备图片路径")
    private String iconUrl;

    /** 安装时间 */
60 61
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "安装时间", width = 30, dateFormat = "yyyy-MM-dd")
62 63 64
    private Date installationTime;

    /** 最后巡检时间 */
65 66
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后巡检时间", width = 30, dateFormat = "yyyy-MM-dd")
67 68
    private Date inspectionTime;

69 70 71 72
    /** 是否删除 */
    @Excel(name = "是否删除")
    private String isDel;

73 74 75 76
    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

77
    public void setPipeId(Integer pipeId)
78 79 80 81
    {
        this.pipeId = pipeId;
    }

82
    public Integer getPipeId()
83 84 85
    {
        return pipeId;
    }
86
    public void setEnterpriseId(Integer enterpriseId)
87 88 89 90
    {
        this.enterpriseId = enterpriseId;
    }

91
    public Integer getEnterpriseId()
92 93 94 95 96 97 98 99 100 101 102 103
    {
        return enterpriseId;
    }
    public void setPipeName(String pipeName) 
    {
        this.pipeName = pipeName;
    }

    public String getPipeName() 
    {
        return pipeName;
    }
104 105 106 107 108 109 110 111 112 113

    public String getPipeCode() {
        return pipeCode;
    }

    public void setPipeCode(String pipeCode) {
        this.pipeCode = pipeCode;
    }

    public void setPipeAddr(String pipeAddr)
114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130
    {
        this.pipeAddr = pipeAddr;
    }

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

    public String getCoordinates() 
    {
        return coordinates;
    }
131
    public void setPipeLength(double pipeLength)
132 133 134 135
    {
        this.pipeLength = pipeLength;
    }

136
    public double getPipeLength()
137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184
    {
        return pipeLength;
    }
    public void setPipeType(String pipeType) 
    {
        this.pipeType = pipeType;
    }

    public String getPipeType() 
    {
        return pipeType;
    }
    public void setPipePressure(String pipePressure) 
    {
        this.pipePressure = pipePressure;
    }

    public String getPipePressure() 
    {
        return pipePressure;
    }
    public void setIconUrl(String iconUrl) 
    {
        this.iconUrl = iconUrl;
    }

    public String getIconUrl() 
    {
        return iconUrl;
    }
    public void setInstallationTime(Date installationTime) 
    {
        this.installationTime = installationTime;
    }

    public Date getInstallationTime() 
    {
        return installationTime;
    }
    public void setInspectionTime(Date inspectionTime) 
    {
        this.inspectionTime = inspectionTime;
    }

    public Date getInspectionTime() 
    {
        return inspectionTime;
    }
185 186 187 188 189 190 191 192 193 194

    public String getIsDel() {
        return isDel;
    }

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

    public void setRemarks(String remarks)
195 196 197 198 199 200 201 202 203 204 205 206 207 208 209
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pipeId", getPipeId())
            .append("enterpriseId", getEnterpriseId())
            .append("pipeName", getPipeName())
210
            .append("pipeCode", getPipeCode())
211 212 213 214 215 216 217 218 219 220 221 222
            .append("pipeAddr", getPipeAddr())
            .append("coordinates", getCoordinates())
            .append("pipeLength", getPipeLength())
            .append("pipeType", getPipeType())
            .append("pipePressure", getPipePressure())
            .append("iconUrl", getIconUrl())
            .append("installationTime", getInstallationTime())
            .append("inspectionTime", getInspectionTime())
            .append("remarks", getRemarks())
            .toString();
    }
}