TPipeOldPlanProcess.java 9.94 KB
Newer Older
耿迪迪's avatar
耿迪迪 committed
1 2
package com.zehong.system.domain;

3 4
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zehong.common.utils.DateUtils;
耿迪迪's avatar
耿迪迪 committed
5 6 7 8 9
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;

10 11
import java.util.Date;

耿迪迪's avatar
耿迪迪 committed
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
/**
 * 老旧管网-改造计划和进度对象 t_pipe_old_plan_process
 * 
 * @author zehong
 * @date 2024-06-15
 */
public class TPipeOldPlanProcess extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long fOldPlanProcessId;

    /** uuid:省平台对接必传参数 */
    private String fUuid;

    /** 燃气企业编码,可为空 */
    private String fEntUuid;

31 32 33 34 35 36 37 38 39
    private Long fEnterpriseId;

    /**
     * 燃气企业名称 导出用
     */
    @Excel(name = "燃气企业")
    private String enterpriseName;

    /** 项目所在县级行政区 */
耿迪迪's avatar
耿迪迪 committed
40 41
    private Long fRegion;

42 43 44 45 46 47
    /**
     * 项目所在县级行政区 导出用
     */
    @Excel(name = "项目所在县级行政区")
    private String regionName;

耿迪迪's avatar
耿迪迪 committed
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107
    /** 项目名称 */
    @Excel(name = "项目名称")
    private String fProjectName;

    /** 关联对象类型

            PIPE(市政管网管线分段)

            YARD(庭院管网所在小区)

            STATION(厂站和设施)

            RESIDENT(居民用户)

            UNIT(单位用户) */
    @Excel(name = "关联对象类型", dictType = "t_relation_object_type")
    private String fRelationObjectType;

    /** 年度(格式 yyyy) */
    @Excel(name = "年度")
    private String fYear;

    /** 项目开始时间 */
    @Excel(name = "项目开始时间")
    private String fStartTime;

    /** 项目结束时间 */
    @Excel(name = "项目结束时间")
    private String fEndTime;

    /** 项目总投资,单位:万元 */
    private Long fTotalInvestment;

    /** 创建时间 */
    private String fCreateTime;

    /** 修改时间 */
    private String fUpdateTime;

    /** 实施主体 */
    private String fSubjectImplementation;

    /** 联系人 */
    @Excel(name = "联系人")
    private String fConcatPerson;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String fConcatTel;

    /** 建设内容 */
    @Excel(name = "建设内容")
    private String fConstructionContent;

    /** 实际改造完成时间*/
    @Excel(name = "实际改造完成时间")
    private String fActualFinishTime;

    /** 当前改造进度,填写百分比,100为完成 */
    @Excel(name = "当前改造进度")
108
    private Float fReconstructionProgress;
耿迪迪's avatar
耿迪迪 committed
109 110 111

    /** 当前资金拨付进度,填写百分比,100为完成 */
    @Excel(name = "当前资金拨付进度")
112
    private Float fFundsDisbursementProgress;
耿迪迪's avatar
耿迪迪 committed
113 114

    /** 是否已上传,1-是,0-否 */
115
    @Excel(name = "上报状态",readConverterExp = "1=已上报,0=未上报")
耿迪迪's avatar
耿迪迪 committed
116 117 118
    private String fUploadType;

    /** 上传时间,yyyy-MM-dd hh:mm:ss */
119
    @Excel(name = "上报时间")
120
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
耿迪迪's avatar
耿迪迪 committed
121 122
    private String fUploadTime;

123 124 125
    /**
     * 政府端上传数据
     */
126
    /** 是否已上传,1-是,0-否 */
127
    @Excel(name = "上报省厅状态",readConverterExp = "1=已上报,0=未上报")
128 129
    private String govUploadState;

130 131
    /** 政府端上传时间,yyyy-MM-dd hh:mm:ss */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
132
    @Excel(name = "上报省厅时间")
133 134
    private Date govUploadTime;

135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150
    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }

    public String getRegionName() {
        return regionName;
    }

    public void setRegionName(String regionName) {
        this.regionName = regionName;
    }

151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166
    public String getGovUploadState() {
        return govUploadState;
    }

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

    public Date getGovUploadTime() {
        return govUploadTime;
    }

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

167 168 169 170 171 172 173 174 175
    public Long getfEnterpriseId() {
        return fEnterpriseId;
    }

    public void setfEnterpriseId(Long fEnterpriseId) {
        this.fEnterpriseId = fEnterpriseId;
    }

    public void setfOldPlanProcessId(Long fOldPlanProcessId)
耿迪迪's avatar
耿迪迪 committed
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 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327
    {
        this.fOldPlanProcessId = fOldPlanProcessId;
    }

    public Long getfOldPlanProcessId() 
    {
        return fOldPlanProcessId;
    }
    public void setfUuid(String fUuid) 
    {
        this.fUuid = fUuid;
    }

    public String getfUuid() 
    {
        return fUuid;
    }
    public void setfEntUuid(String fEntUuid) 
    {
        this.fEntUuid = fEntUuid;
    }

    public String getfEntUuid() 
    {
        return fEntUuid;
    }
    public void setfRegion(Long fRegion) 
    {
        this.fRegion = fRegion;
    }

    public Long getfRegion() 
    {
        return fRegion;
    }
    public void setfProjectName(String fProjectName) 
    {
        this.fProjectName = fProjectName;
    }

    public String getfProjectName() 
    {
        return fProjectName;
    }
    public void setfRelationObjectType(String fRelationObjectType) 
    {
        this.fRelationObjectType = fRelationObjectType;
    }

    public String getfRelationObjectType() 
    {
        return fRelationObjectType;
    }
    public void setfYear(String fYear) 
    {
        this.fYear = fYear;
    }

    public String getfYear() 
    {
        return fYear;
    }
    public void setfStartTime(String fStartTime) 
    {
        this.fStartTime = fStartTime;
    }

    public String getfStartTime() 
    {
        return fStartTime;
    }
    public void setfEndTime(String fEndTime) 
    {
        this.fEndTime = fEndTime;
    }

    public String getfEndTime() 
    {
        return fEndTime;
    }
    public void setfTotalInvestment(Long fTotalInvestment) 
    {
        this.fTotalInvestment = fTotalInvestment;
    }

    public Long getfTotalInvestment() 
    {
        return fTotalInvestment;
    }
    public void setfCreateTime(String fCreateTime) 
    {
        this.fCreateTime = fCreateTime;
    }

    public String getfCreateTime() 
    {
        return fCreateTime;
    }
    public void setfUpdateTime(String fUpdateTime) 
    {
        this.fUpdateTime = fUpdateTime;
    }

    public String getfUpdateTime() 
    {
        return fUpdateTime;
    }
    public void setfSubjectImplementation(String fSubjectImplementation) 
    {
        this.fSubjectImplementation = fSubjectImplementation;
    }

    public String getfSubjectImplementation() 
    {
        return fSubjectImplementation;
    }
    public void setfConcatPerson(String fConcatPerson) 
    {
        this.fConcatPerson = fConcatPerson;
    }

    public String getfConcatPerson() 
    {
        return fConcatPerson;
    }
    public void setfConcatTel(String fConcatTel) 
    {
        this.fConcatTel = fConcatTel;
    }

    public String getfConcatTel() 
    {
        return fConcatTel;
    }
    public void setfConstructionContent(String fConstructionContent) 
    {
        this.fConstructionContent = fConstructionContent;
    }

    public String getfConstructionContent() 
    {
        return fConstructionContent;
    }
    public void setfActualFinishTime(String fActualFinishTime) 
    {
        this.fActualFinishTime = fActualFinishTime;
    }

    public String getfActualFinishTime() 
    {
        return fActualFinishTime;
    }
328
    public void setfReconstructionProgress(Float fReconstructionProgress)
耿迪迪's avatar
耿迪迪 committed
329 330 331 332
    {
        this.fReconstructionProgress = fReconstructionProgress;
    }

333
    public Float getfReconstructionProgress()
耿迪迪's avatar
耿迪迪 committed
334 335 336
    {
        return fReconstructionProgress;
    }
337
    public void setfFundsDisbursementProgress(Float fFundsDisbursementProgress)
耿迪迪's avatar
耿迪迪 committed
338 339 340 341
    {
        this.fFundsDisbursementProgress = fFundsDisbursementProgress;
    }

342
    public Float getfFundsDisbursementProgress()
耿迪迪's avatar
耿迪迪 committed
343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364
    {
        return fFundsDisbursementProgress;
    }
    public void setfUploadType(String fUploadType) 
    {
        this.fUploadType = fUploadType;
    }

    public String getfUploadType() 
    {
        return fUploadType;
    }
    public void setfUploadTime(String fUploadTime) 
    {
        this.fUploadTime = fUploadTime;
    }

    public String getfUploadTime() 
    {
        return fUploadTime;
    }

365 366 367 368 369 370 371 372
    public void updateFields() {
        this.fUploadType = govUploadState;
        if (govUploadTime != null) {
            this.fUploadTime = DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD_HH_MM_SS,govUploadTime);
        } else {
            this.fUploadTime = null;
        }
    }
耿迪迪's avatar
耿迪迪 committed
373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fOldPlanProcessId", getfOldPlanProcessId())
            .append("fUuid", getfUuid())
            .append("fEntUuid", getfEntUuid())
            .append("fRegion", getfRegion())
            .append("fProjectName", getfProjectName())
            .append("fRelationObjectType", getfRelationObjectType())
            .append("fYear", getfYear())
            .append("fStartTime", getfStartTime())
            .append("fEndTime", getfEndTime())
            .append("fTotalInvestment", getfTotalInvestment())
            .append("fCreateTime", getfCreateTime())
            .append("fUpdateTime", getfUpdateTime())
            .append("fSubjectImplementation", getfSubjectImplementation())
            .append("fConcatPerson", getfConcatPerson())
            .append("fConcatTel", getfConcatTel())
            .append("fConstructionContent", getfConstructionContent())
            .append("fActualFinishTime", getfActualFinishTime())
            .append("fReconstructionProgress", getfReconstructionProgress())
            .append("fFundsDisbursementProgress", getfFundsDisbursementProgress())
            .append("fUploadType", getfUploadType())
            .append("fUploadTime", getfUploadTime())
            .toString();
    }
}