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

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_inspection_data
 * 
 * @author zehong
12
 * @date 2021-07-21
13 14 15 16 17 18
 */
public class TInspectionData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 巡检记录id */
19
    private Integer dataId;
20

21 22
    /** 巡检计划id */
    @Excel(name = "巡检计划id")
23
    private Integer planId;
24

25 26 27
    /** 设备id */
    @Excel(name = "设备id")
    private Integer deviceId;
28

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

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

37 38 39 40
    /** 是否存在隐患 */
    @Excel(name = "是否存在隐患")
    private String isHiddenDanger;

41 42 43 44
    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

45
    public void setDataId(Integer dataId)
46 47 48 49
    {
        this.dataId = dataId;
    }

50
    public Integer getDataId()
51 52 53
    {
        return dataId;
    }
54

55
    public void setPlanId(Integer planId)
56
    {
57
        this.planId = planId;
58 59
    }

60
    public Integer getPlanId()
61
    {
62
        return planId;
63
    }
64

65
    public void setDeviceId(Integer deviceId)
66
    {
67
        this.deviceId = deviceId;
68 69
    }

70
    public Integer getDeviceId()
71
    {
72
        return deviceId;
73
    }
王晓倩's avatar
王晓倩 committed
74 75 76 77 78 79 80 81 82 83

    public String getDeviceType() {
        return deviceType;
    }

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

    public void setDealStatus(String dealStatus)
84
    {
85
        this.dealStatus = dealStatus;
86 87
    }

88
    public String getDealStatus() 
89
    {
90
        return dealStatus;
91
    }
92 93 94 95 96 97 98 99 100 101

    public String getIsHiddenDanger() {
        return isHiddenDanger;
    }

    public void setIsHiddenDanger(String isHiddenDanger) {
        this.isHiddenDanger = isHiddenDanger;
    }

    public void setRemarks(String remarks)
102 103 104 105 106 107 108 109 110 111 112 113 114
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dataId", getDataId())
115
            .append("planId", getPlanId())
116
            .append("deviceId", getDeviceId())
王晓倩's avatar
王晓倩 committed
117
            .append("deviceType", getDeviceType())
118
            .append("dealStatus", getDealStatus())
119
            .append("isHiddenDanger", getIsHiddenDanger())
120
            .append("updateTime", getUpdateTime())
121 122 123 124 125
            .append("createTime", getCreateTime())
            .append("remarks", getRemarks())
            .toString();
    }
}