TConGasProInc.java 5.6 KB
Newer Older
1 2
package com.zehong.system.domain;

3
import com.fasterxml.jackson.annotation.JsonFormat;
4 5 6 7 8
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;

9 10
import java.util.Date;

11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
/**
 * 第三方施工-涉气第三方施工意外事件对象 t_con_gas_pro_inc
 * 
 * @author zehong
 * @date 2024-06-27
 */
public class TConGasProInc extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long fConGasProIncId;

    /** 项目编码 */
    private String fIntersectConstructionId;

27 28 29 30 31

    /** 燃气企业 */
    @Excel(name = "燃气企业")
    private String fCompanyInfoId;

耿迪迪's avatar
耿迪迪 committed
32 33 34
    @Excel(name = "项目编码")
    private String projectCode;

35 36 37 38 39
    /** 意外事件标题 */
    @Excel(name = "意外事件标题")
    private String fTitle;

    /** 意外事件描述,施工过程中发生了燃气管道破坏的情况,但及时妥善处置,未发生事故的详细情况 */
耿迪迪's avatar
耿迪迪 committed
40
    @Excel(name = "意外事件描述")
41 42 43
    private String fDescription;

    /** 意外事件发生事件 yyyy-MM-dd hh:mm:ss */
耿迪迪's avatar
耿迪迪 committed
44
    @Excel(name = "意外事件发生事件时间")
45 46 47 48 49 50 51 52 53 54 55 56 57
    private String fOccurrenctTime;

    /** 附件 */
    @Excel(name = "附件")
    private String fAttachment;

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

    /** 最后修改时间 yyyy-MM-dd hh:mm:ss */
    private String fUpdateTime;

58 59
    /**
     * 企业端上传状态 0-未上传,1-已上传*/
60
    @Excel(name = "上报状态",readConverterExp = "1=已上报,0=未上报")
61 62
    private String entUploadState;

63 64 65
    /**
     * 企业端上传时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
66
    @Excel(name = "上报时间",dateFormat = "yyyy-MM-dd HH:mm:ss")
67 68
    private Date entUploadTime;

69 70 71 72
    /**
     * 企业端上传状态 0-未上报,1-已上报*/
    @Excel(name = "上报省厅状态",readConverterExp = "1=已上报,0=未上报")
    private String govUploadState;
73 74 75

    /**
     * 政府端上传时间 */
76
    @Excel(name = "上报省厅时间",dateFormat = "yyyy-MM-dd HH:mm:ss")
77 78 79 80
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date govUploadTime;


81 82 83 84 85 86 87 88
    public void updateFields() {
        this.entUploadState = govUploadState;
        if (govUploadTime != null) {
            this.entUploadTime =  govUploadTime;
        } else {
            this.entUploadTime = null;
        }
    }
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
    public Date getEntUploadTime() {
        return entUploadTime;
    }

    public void setEntUploadTime(Date entUploadTime) {
        this.entUploadTime = entUploadTime;
    }

    public String getEntUploadState() {
        return entUploadState;
    }

    public void setEntUploadState(String entUploadState) {
        this.entUploadState = entUploadState;
    }

    public Date getGovUploadTime() {
        return govUploadTime;
    }

    public void setGovUploadTime(Date govUploadTime) {
        this.govUploadTime = govUploadTime;
    }

    public String getGovUploadState() {
        return govUploadState;
    }

    public void setGovUploadState(String govUploadState) {
        this.govUploadState = govUploadState;
    }

    public String getfCompanyInfoId() {
        return fCompanyInfoId;
    }

    public void setfCompanyInfoId(String fCompanyInfoId) {
        this.fCompanyInfoId = fCompanyInfoId;
    }

    public void setfConGasProIncId(Long fConGasProIncId)
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146
    {
        this.fConGasProIncId = fConGasProIncId;
    }

    public Long getfConGasProIncId() 
    {
        return fConGasProIncId;
    }
    public void setfIntersectConstructionId(String fIntersectConstructionId) 
    {
        this.fIntersectConstructionId = fIntersectConstructionId;
    }

    public String getfIntersectConstructionId() 
    {
        return fIntersectConstructionId;
    }
耿迪迪's avatar
耿迪迪 committed
147 148 149 150 151 152 153 154 155 156

    public String getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }

    public void setfTitle(String fTitle)
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 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
    {
        this.fTitle = fTitle;
    }

    public String getfTitle() 
    {
        return fTitle;
    }
    public void setfDescription(String fDescription) 
    {
        this.fDescription = fDescription;
    }

    public String getfDescription() 
    {
        return fDescription;
    }
    public void setfOccurrenctTime(String fOccurrenctTime) 
    {
        this.fOccurrenctTime = fOccurrenctTime;
    }

    public String getfOccurrenctTime() 
    {
        return fOccurrenctTime;
    }
    public void setfAttachment(String fAttachment) 
    {
        this.fAttachment = fAttachment;
    }

    public String getfAttachment() 
    {
        return fAttachment;
    }
    public void setfRemark(String fRemark) 
    {
        this.fRemark = fRemark;
    }

    public String getfRemark() 
    {
        return fRemark;
    }
    public void setfUpdateTime(String fUpdateTime) 
    {
        this.fUpdateTime = fUpdateTime;
    }

    public String getfUpdateTime() 
    {
        return fUpdateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fConGasProIncId", getfConGasProIncId())
            .append("fIntersectConstructionId", getfIntersectConstructionId())
            .append("fTitle", getfTitle())
            .append("fDescription", getfDescription())
            .append("fOccurrenctTime", getfOccurrenctTime())
            .append("fAttachment", getfAttachment())
            .append("fRemark", getfRemark())
            .append("fUpdateTime", getfUpdateTime())
            .toString();
    }
}