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

3
import java.util.Date;
zhangjianqian's avatar
zhangjianqian committed
4 5
import java.util.List;

6
import com.fasterxml.jackson.annotation.JsonFormat;
耿迪迪's avatar
耿迪迪 committed
7 8 9 10
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;
11
import org.springframework.format.annotation.DateTimeFormat;
耿迪迪's avatar
耿迪迪 committed
12 13 14 15 16

/**
 * 隐患台账对象 t_staning_book
 * 
 * @author zehong
17
 * @date 2022-10-07
耿迪迪's avatar
耿迪迪 committed
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
 */
public class TStaningBook extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long bookId;

    /** 隐患名称 */
    @Excel(name = "隐患名称")
    private String troubleName;

    /** 隐患类型 */
    @Excel(name = "隐患类型")
    private Integer troubleType;

    /** 隐患等级 */
    @Excel(name = "隐患等级")
    private Integer troubleLevel;

    /** 隐患描述 */
    @Excel(name = "隐患描述")
    private String measures;

42 43 44 45 46 47 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
    /** 隐患危害 */
    @Excel(name = "隐患危害")
    private String troubleHarm;

    /** 隐患上报人 */
    @Excel(name = "隐患上报人")
    private Long escalation;

    private String escalationName;

    /** 隐患上报时间 */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "隐患上报时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date findTime;

    /** 现场照片 */
    @Excel(name = "现场照片")
    private String picture;

    /** 隐患附件 */
    @Excel(name = "隐患附件")
    private String enclosure;

    /** 整改建议 */
    @Excel(name = "整改建议")
    private String proposal;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date rectificationTerm;
    /** 投入费用 */
    @Excel(name = "投入费用")
    private String investmentCost;

    /** 投入物资 */
    @Excel(name = "投入物资")
    private String investmentMaterial;

    /** 整改人 */
    @Excel(name = "整改人")
    private Long rectification;

    private String rectificationName;

    /** 整改后图片 */
    @Excel(name = "整改后图片")
    private String rectificationPictrue;

    /** 整改描述 */
    @Excel(name = "整改描述")
    private String rectificationText;

    /** 整改时间 */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "整改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date rectificationTime;

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

    /** 完成时间 */
    @Excel(name = "完成时间")
耿迪迪's avatar
耿迪迪 committed
106 107
    private Long finishDay;

108 109 110 111 112 113 114 115 116 117 118 119
    /** 复查图片 */
    @Excel(name = "复查图片")
    private String inspectPictrue;

    /** 复查时间 */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "复查时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date inspectTime;

    /** 复查结果描述 */
    @Excel(name = "复查结果描述")
耿迪迪's avatar
耿迪迪 committed
120 121
    private String inspectResult;

122 123
    /** 复查人 */
    @Excel(name = "复查人")
耿迪迪's avatar
耿迪迪 committed
124 125
    private Long personLiable;

126 127 128 129 130 131
    private String personLiableName;

    /** 隐患状态  */
    @Excel(name = "隐患状态 ")
    private Integer state;

耿迪迪's avatar
耿迪迪 committed
132 133 134 135 136 137 138 139 140 141 142 143 144
    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    private String deptName;

    /** 任务id */
    @Excel(name = "任务id")
    private Long workId;

    /** 删除 0否 1是 */
    private Integer isDel;

zhangjianqian's avatar
zhangjianqian committed
145 146 147 148 149 150 151 152 153 154 155

    private List<Long> deptList;

    public List<Long> getDeptList() {
        return deptList;
    }

    public void setDeptList(List<Long> deptList) {
        this.deptList = deptList;
    }

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 185 186 187
    public String getEscalationName() {
        return escalationName;
    }

    public void setEscalationName(String escalationName) {
        this.escalationName = escalationName;
    }

    public String getRectificationName() {
        return rectificationName;
    }

    public void setRectificationName(String rectificationName) {
        this.rectificationName = rectificationName;
    }

    public String getPersonLiableName() {
        return personLiableName;
    }

    public void setPersonLiableName(String personLiableName) {
        this.personLiableName = personLiableName;
    }

    public Date getRectificationTerm() {
        return rectificationTerm;
    }

    public void setRectificationTerm(Date rectificationTerm) {
        this.rectificationTerm = rectificationTerm;
    }

耿迪迪's avatar
耿迪迪 committed
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
    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public void setBookId(Long bookId)
    {
        this.bookId = bookId;
    }

    public Long getBookId() 
    {
        return bookId;
    }
    public void setTroubleName(String troubleName) 
    {
        this.troubleName = troubleName;
    }

    public String getTroubleName() 
    {
        return troubleName;
    }
    public void setTroubleType(Integer troubleType) 
    {
        this.troubleType = troubleType;
    }

    public Integer getTroubleType() 
    {
        return troubleType;
    }
    public void setTroubleLevel(Integer troubleLevel) 
    {
        this.troubleLevel = troubleLevel;
    }

    public Integer getTroubleLevel() 
    {
        return troubleLevel;
    }
    public void setMeasures(String measures) 
    {
        this.measures = measures;
    }

    public String getMeasures() 
    {
        return measures;
    }
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 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357
    public void setTroubleHarm(String troubleHarm) 
    {
        this.troubleHarm = troubleHarm;
    }

    public String getTroubleHarm() 
    {
        return troubleHarm;
    }
    public void setEscalation(Long escalation) 
    {
        this.escalation = escalation;
    }

    public Long getEscalation() 
    {
        return escalation;
    }
    public void setFindTime(Date findTime) 
    {
        this.findTime = findTime;
    }

    public Date getFindTime() 
    {
        return findTime;
    }
    public void setPicture(String picture) 
    {
        this.picture = picture;
    }

    public String getPicture() 
    {
        return picture;
    }
    public void setEnclosure(String enclosure) 
    {
        this.enclosure = enclosure;
    }

    public String getEnclosure() 
    {
        return enclosure;
    }
    public void setProposal(String proposal) 
    {
        this.proposal = proposal;
    }

    public String getProposal() 
    {
        return proposal;
    }
    public void setInvestmentCost(String investmentCost) 
    {
        this.investmentCost = investmentCost;
    }

    public String getInvestmentCost() 
    {
        return investmentCost;
    }
    public void setInvestmentMaterial(String investmentMaterial) 
    {
        this.investmentMaterial = investmentMaterial;
    }

    public String getInvestmentMaterial() 
    {
        return investmentMaterial;
    }
    public void setRectification(Long rectification) 
    {
        this.rectification = rectification;
    }

    public Long getRectification() 
    {
        return rectification;
    }
    public void setRectificationPictrue(String rectificationPictrue) 
    {
        this.rectificationPictrue = rectificationPictrue;
    }

    public String getRectificationPictrue() 
    {
        return rectificationPictrue;
    }
    public void setRectificationText(String rectificationText) 
    {
        this.rectificationText = rectificationText;
    }

    public String getRectificationText() 
    {
        return rectificationText;
    }
    public void setRectificationTime(Date rectificationTime) 
    {
        this.rectificationTime = rectificationTime;
    }

    public Date getRectificationTime() 
    {
        return rectificationTime;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
耿迪迪's avatar
耿迪迪 committed
358 359 360 361 362 363 364 365 366
    public void setFinishDay(Long finishDay) 
    {
        this.finishDay = finishDay;
    }

    public Long getFinishDay() 
    {
        return finishDay;
    }
367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384
    public void setInspectPictrue(String inspectPictrue) 
    {
        this.inspectPictrue = inspectPictrue;
    }

    public String getInspectPictrue() 
    {
        return inspectPictrue;
    }
    public void setInspectTime(Date inspectTime) 
    {
        this.inspectTime = inspectTime;
    }

    public Date getInspectTime() 
    {
        return inspectTime;
    }
耿迪迪's avatar
耿迪迪 committed
385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402
    public void setInspectResult(String inspectResult) 
    {
        this.inspectResult = inspectResult;
    }

    public String getInspectResult() 
    {
        return inspectResult;
    }
    public void setPersonLiable(Long personLiable) 
    {
        this.personLiable = personLiable;
    }

    public Long getPersonLiable() 
    {
        return personLiable;
    }
403 404 405 406 407 408 409 410 411
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }
耿迪迪's avatar
耿迪迪 committed
412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setWorkId(Long workId) 
    {
        this.workId = workId;
    }

    public Long getWorkId() 
    {
        return workId;
    }
    public void setIsDel(Integer isDel) 
    {
        this.isDel = isDel;
    }

    public Integer getIsDel() 
    {
        return isDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bookId", getBookId())
            .append("troubleName", getTroubleName())
            .append("troubleType", getTroubleType())
            .append("troubleLevel", getTroubleLevel())
            .append("measures", getMeasures())
448 449 450 451 452 453 454 455 456 457 458 459 460
            .append("troubleHarm", getTroubleHarm())
            .append("escalation", getEscalation())
            .append("findTime", getFindTime())
            .append("picture", getPicture())
            .append("enclosure", getEnclosure())
            .append("proposal", getProposal())
            .append("investmentCost", getInvestmentCost())
            .append("investmentMaterial", getInvestmentMaterial())
            .append("rectification", getRectification())
            .append("rectificationPictrue", getRectificationPictrue())
            .append("rectificationText", getRectificationText())
            .append("rectificationTime", getRectificationTime())
            .append("remarks", getRemarks())
耿迪迪's avatar
耿迪迪 committed
461
            .append("finishDay", getFinishDay())
462 463
            .append("inspectPictrue", getInspectPictrue())
            .append("inspectTime", getInspectTime())
耿迪迪's avatar
耿迪迪 committed
464 465
            .append("inspectResult", getInspectResult())
            .append("personLiable", getPersonLiable())
466
            .append("state", getState())
耿迪迪's avatar
耿迪迪 committed
467 468 469 470 471 472 473 474
            .append("deptId", getDeptId())
            .append("workId", getWorkId())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("isDel", getIsDel())
            .toString();
    }
}