TStaningBook.java 11.3 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

/**
 * 隐患台账对象 t_staning_book
吴卿华's avatar
吴卿华 committed
15
 *
耿迪迪's avatar
耿迪迪 committed
16
 * @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
    /** 隐患危害 */
    @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;
吴卿华's avatar
吴卿华 committed
69 70


71 72 73
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date rectificationTerm;
吴卿华's avatar
吴卿华 committed
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 108
    /** 投入费用 */
    @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
109 110
    private Long finishDay;

111 112 113 114 115 116 117 118 119 120 121 122
    /** 复查图片 */
    @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
123 124
    private String inspectResult;

125 126
    /** 复查人 */
    @Excel(name = "复查人")
耿迪迪's avatar
耿迪迪 committed
127 128
    private Long personLiable;

129 130 131 132 133 134
    private String personLiableName;

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

耿迪迪's avatar
耿迪迪 committed
135 136 137 138 139 140 141 142 143 144 145 146 147
    /** 部门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
148 149 150

    private List<Long> deptList;

151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170
    private Long userId;

    private Long createId;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getCreateId() {
        return createId;
    }

    public void setCreateId(Long createId) {
        this.createId = createId;
    }

zhangjianqian's avatar
zhangjianqian committed
171 172 173 174 175 176 177 178
    public List<Long> getDeptList() {
        return deptList;
    }

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

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
    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
211 212 213 214 215 216 217 218 219 220 221 222 223
    public String getDeptName() {
        return deptName;
    }

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

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

吴卿华's avatar
吴卿华 committed
224
    public Long getBookId()
耿迪迪's avatar
耿迪迪 committed
225 226 227
    {
        return bookId;
    }
吴卿华's avatar
吴卿华 committed
228
    public void setTroubleName(String troubleName)
耿迪迪's avatar
耿迪迪 committed
229 230 231 232
    {
        this.troubleName = troubleName;
    }

吴卿华's avatar
吴卿华 committed
233
    public String getTroubleName()
耿迪迪's avatar
耿迪迪 committed
234 235 236
    {
        return troubleName;
    }
吴卿华's avatar
吴卿华 committed
237
    public void setTroubleType(Integer troubleType)
耿迪迪's avatar
耿迪迪 committed
238 239 240 241
    {
        this.troubleType = troubleType;
    }

吴卿华's avatar
吴卿华 committed
242
    public Integer getTroubleType()
耿迪迪's avatar
耿迪迪 committed
243 244 245
    {
        return troubleType;
    }
吴卿华's avatar
吴卿华 committed
246
    public void setTroubleLevel(Integer troubleLevel)
耿迪迪's avatar
耿迪迪 committed
247 248 249 250
    {
        this.troubleLevel = troubleLevel;
    }

吴卿华's avatar
吴卿华 committed
251
    public Integer getTroubleLevel()
耿迪迪's avatar
耿迪迪 committed
252 253 254
    {
        return troubleLevel;
    }
吴卿华's avatar
吴卿华 committed
255
    public void setMeasures(String measures)
耿迪迪's avatar
耿迪迪 committed
256 257 258 259
    {
        this.measures = measures;
    }

吴卿华's avatar
吴卿华 committed
260
    public String getMeasures()
耿迪迪's avatar
耿迪迪 committed
261 262 263
    {
        return measures;
    }
吴卿华's avatar
吴卿华 committed
264
    public void setTroubleHarm(String troubleHarm)
265 266 267 268
    {
        this.troubleHarm = troubleHarm;
    }

吴卿华's avatar
吴卿华 committed
269
    public String getTroubleHarm()
270 271 272
    {
        return troubleHarm;
    }
吴卿华's avatar
吴卿华 committed
273
    public void setEscalation(Long escalation)
274 275 276 277
    {
        this.escalation = escalation;
    }

吴卿华's avatar
吴卿华 committed
278
    public Long getEscalation()
279 280 281
    {
        return escalation;
    }
吴卿华's avatar
吴卿华 committed
282
    public void setFindTime(Date findTime)
283 284 285 286
    {
        this.findTime = findTime;
    }

吴卿华's avatar
吴卿华 committed
287
    public Date getFindTime()
288 289 290
    {
        return findTime;
    }
吴卿华's avatar
吴卿华 committed
291
    public void setPicture(String picture)
292 293 294 295
    {
        this.picture = picture;
    }

吴卿华's avatar
吴卿华 committed
296
    public String getPicture()
297 298 299
    {
        return picture;
    }
吴卿华's avatar
吴卿华 committed
300
    public void setEnclosure(String enclosure)
301 302 303 304
    {
        this.enclosure = enclosure;
    }

吴卿华's avatar
吴卿华 committed
305
    public String getEnclosure()
306 307 308
    {
        return enclosure;
    }
吴卿华's avatar
吴卿华 committed
309
    public void setProposal(String proposal)
310 311 312 313
    {
        this.proposal = proposal;
    }

吴卿华's avatar
吴卿华 committed
314
    public String getProposal()
315 316 317
    {
        return proposal;
    }
吴卿华's avatar
吴卿华 committed
318
    public void setInvestmentCost(String investmentCost)
319 320 321 322
    {
        this.investmentCost = investmentCost;
    }

吴卿华's avatar
吴卿华 committed
323
    public String getInvestmentCost()
324 325 326
    {
        return investmentCost;
    }
吴卿华's avatar
吴卿华 committed
327
    public void setInvestmentMaterial(String investmentMaterial)
328 329 330 331
    {
        this.investmentMaterial = investmentMaterial;
    }

吴卿华's avatar
吴卿华 committed
332
    public String getInvestmentMaterial()
333 334 335
    {
        return investmentMaterial;
    }
吴卿华's avatar
吴卿华 committed
336
    public void setRectification(Long rectification)
337 338 339 340
    {
        this.rectification = rectification;
    }

吴卿华's avatar
吴卿华 committed
341
    public Long getRectification()
342 343 344
    {
        return rectification;
    }
吴卿华's avatar
吴卿华 committed
345
    public void setRectificationPictrue(String rectificationPictrue)
346 347 348 349
    {
        this.rectificationPictrue = rectificationPictrue;
    }

吴卿华's avatar
吴卿华 committed
350
    public String getRectificationPictrue()
351 352 353
    {
        return rectificationPictrue;
    }
吴卿华's avatar
吴卿华 committed
354
    public void setRectificationText(String rectificationText)
355 356 357 358
    {
        this.rectificationText = rectificationText;
    }

吴卿华's avatar
吴卿华 committed
359
    public String getRectificationText()
360 361 362
    {
        return rectificationText;
    }
吴卿华's avatar
吴卿华 committed
363
    public void setRectificationTime(Date rectificationTime)
364 365 366 367
    {
        this.rectificationTime = rectificationTime;
    }

吴卿华's avatar
吴卿华 committed
368
    public Date getRectificationTime()
369 370 371
    {
        return rectificationTime;
    }
吴卿华's avatar
吴卿华 committed
372
    public void setRemarks(String remarks)
373 374 375 376
    {
        this.remarks = remarks;
    }

吴卿华's avatar
吴卿华 committed
377
    public String getRemarks()
378 379 380
    {
        return remarks;
    }
吴卿华's avatar
吴卿华 committed
381
    public void setFinishDay(Long finishDay)
耿迪迪's avatar
耿迪迪 committed
382 383 384 385
    {
        this.finishDay = finishDay;
    }

吴卿华's avatar
吴卿华 committed
386
    public Long getFinishDay()
耿迪迪's avatar
耿迪迪 committed
387 388 389
    {
        return finishDay;
    }
吴卿华's avatar
吴卿华 committed
390
    public void setInspectPictrue(String inspectPictrue)
391 392 393 394
    {
        this.inspectPictrue = inspectPictrue;
    }

吴卿华's avatar
吴卿华 committed
395
    public String getInspectPictrue()
396 397 398
    {
        return inspectPictrue;
    }
吴卿华's avatar
吴卿华 committed
399
    public void setInspectTime(Date inspectTime)
400 401 402 403
    {
        this.inspectTime = inspectTime;
    }

吴卿华's avatar
吴卿华 committed
404
    public Date getInspectTime()
405 406 407
    {
        return inspectTime;
    }
吴卿华's avatar
吴卿华 committed
408
    public void setInspectResult(String inspectResult)
耿迪迪's avatar
耿迪迪 committed
409 410 411 412
    {
        this.inspectResult = inspectResult;
    }

吴卿华's avatar
吴卿华 committed
413
    public String getInspectResult()
耿迪迪's avatar
耿迪迪 committed
414 415 416
    {
        return inspectResult;
    }
吴卿华's avatar
吴卿华 committed
417
    public void setPersonLiable(Long personLiable)
耿迪迪's avatar
耿迪迪 committed
418 419 420 421
    {
        this.personLiable = personLiable;
    }

吴卿华's avatar
吴卿华 committed
422
    public Long getPersonLiable()
耿迪迪's avatar
耿迪迪 committed
423 424 425
    {
        return personLiable;
    }
吴卿华's avatar
吴卿华 committed
426
    public void setState(Integer state)
427 428 429 430
    {
        this.state = state;
    }

吴卿华's avatar
吴卿华 committed
431
    public Integer getState()
432 433 434
    {
        return state;
    }
吴卿华's avatar
吴卿华 committed
435
    public void setDeptId(Long deptId)
耿迪迪's avatar
耿迪迪 committed
436 437 438 439
    {
        this.deptId = deptId;
    }

吴卿华's avatar
吴卿华 committed
440
    public Long getDeptId()
耿迪迪's avatar
耿迪迪 committed
441 442 443
    {
        return deptId;
    }
吴卿华's avatar
吴卿华 committed
444
    public void setWorkId(Long workId)
耿迪迪's avatar
耿迪迪 committed
445 446 447 448
    {
        this.workId = workId;
    }

吴卿华's avatar
吴卿华 committed
449
    public Long getWorkId()
耿迪迪's avatar
耿迪迪 committed
450 451 452
    {
        return workId;
    }
吴卿华's avatar
吴卿华 committed
453
    public void setIsDel(Integer isDel)
耿迪迪's avatar
耿迪迪 committed
454 455 456 457
    {
        this.isDel = isDel;
    }

吴卿华's avatar
吴卿华 committed
458
    public Integer getIsDel()
耿迪迪's avatar
耿迪迪 committed
459 460 461 462 463 464 465 466 467 468 469 470
    {
        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())
471 472 473 474 475 476 477 478 479 480 481 482 483
            .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
484
            .append("finishDay", getFinishDay())
485 486
            .append("inspectPictrue", getInspectPictrue())
            .append("inspectTime", getInspectTime())
耿迪迪's avatar
耿迪迪 committed
487 488
            .append("inspectResult", getInspectResult())
            .append("personLiable", getPersonLiable())
489
            .append("state", getState())
耿迪迪's avatar
耿迪迪 committed
490 491 492 493 494 495 496 497
            .append("deptId", getDeptId())
            .append("workId", getWorkId())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("isDel", getIsDel())
            .toString();
    }
}