TInspectionData.java 2.48 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 int dataId;
20

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

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

王晓倩's avatar
王晓倩 committed
29 30 31 32
    /** 设备类型 */
    @Excel(name = "设备类型")
    private String deviceType;

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

37 38 39 40
    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

41
    public void setDataId(int dataId)
42 43 44 45
    {
        this.dataId = dataId;
    }

46
    public int getDataId()
47 48 49
    {
        return dataId;
    }
50
    public void setPlanId(int planId)
51
    {
52
        this.planId = planId;
53 54
    }

55
    public int getPlanId()
56
    {
57
        return planId;
58
    }
59
    public void setDeviceCode(String deviceCode)
60
    {
61
        this.deviceCode = deviceCode;
62 63
    }

64
    public String getDeviceCode()
65
    {
66
        return deviceCode;
67
    }
王晓倩's avatar
王晓倩 committed
68 69 70 71 72 73 74 75 76 77

    public String getDeviceType() {
        return deviceType;
    }

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

    public void setDealStatus(String dealStatus)
78
    {
79
        this.dealStatus = dealStatus;
80 81
    }

82
    public String getDealStatus() 
83
    {
84
        return dealStatus;
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
    }
    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("dataId", getDataId())
100
            .append("planId", getPlanId())
101
            .append("deviceCode", getDeviceCode())
王晓倩's avatar
王晓倩 committed
102
            .append("deviceType", getDeviceType())
103 104
            .append("dealStatus", getDealStatus())
            .append("updateTime", getUpdateTime())
105 106 107 108 109
            .append("createTime", getCreateTime())
            .append("remarks", getRemarks())
            .toString();
    }
}