TWorkOrder.java 10.4 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
package com.zehong.system.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
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_work_order
 * 
 * @author zehong
 * @date 2022-02-10
 */
public class TWorkOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 任务id */
    private Long workId;

    /** 任务标题 */
    @Excel(name = "任务标题")
    private String workTitle;

    /** 任务类型:1.入户安检 2.巡检 3.报警巡查 4.其他 */
30
    @Excel(name = "任务类型", readConverterExp = "1=入户安检,2=巡检,3=报警巡查,4=其他")
31 32 33 34 35 36 37 38 39 40 41
    private String workType;

    /** 任务内容 */
    @Excel(name = "任务内容")
    private String workContent;

    /** 创建单位名称 */
    @Excel(name = "创建单位名称")
    private String workCreateEnterpriseName;

    /** 创建单位id */
42
//    @Excel(name = "创建单位id")
43 44 45 46 47 48 49
    private String workCreateEnterpriseId;

    /** 指派单位名称 */
    @Excel(name = "指派单位名称")
    private String workAssignEnterproseName;

    /** 指派单位id */
50
//    @Excel(name = "指派单位id")
51
    private String workAssignEnterproseId;
52 53

    /** 指派人 */
54
//    @Excel(name = "指派人")
55 56 57
    private Long workAssignManId;

    /** 指派人id */
58
    @Excel(name = "指派人")
59 60 61
    private String workAssignMan;

    /** 任务状态:1.派发中 2.反馈 3.归档 */
62
    @Excel(name = "任务状态", readConverterExp = "1=派发中,2=反馈,3=归档")
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
    private String workStatus;

    /** 巡检时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "巡检时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date inspectionDate;

    /** 巡检路线 */
    @Excel(name = "巡检路线")
    private String inspectionRoute;

    /** 问题描述 */
    @Excel(name = "问题描述")
    private String problemDescription;

    /** 图片路径 */
    @Excel(name = "图片路径")
    private String iconUrl;

    /** 整改方案 */
    @Excel(name = "整改方案")
    private String rectificationPlan;

    /** 整改结果 */
    @Excel(name = "整改结果")
    private String rectificationResult;

    /** 责任单位 */
    @Excel(name = "责任单位")
    private String responsibleUnit;

    /** 责任人员 */
    @Excel(name = "责任人员")
    private String responsiblePerson;

    private Integer createType;

    /** 截止日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "截止日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date expiryDate;

    /** 是否删除(0正常,1删除) */
106
    @Excel(name = "是否删除", readConverterExp = "0=否,1=是")
107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 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 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
    private String isDel;

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

    private Integer timeType;

    private Date jiedanTime;
    private Date shangbaoTime;

    private List<String[]> locationList;

    public List<String[]> getLocationList() {
        return locationList;
    }

    public void setLocationList(List<String[]> locationList) {
        this.locationList = locationList;
    }

    public Date getJiedanTime() {
        return jiedanTime;
    }

    public void setJiedanTime(Date jiedanTime) {
        this.jiedanTime = jiedanTime;
    }

    public Date getShangbaoTime() {
        return shangbaoTime;
    }

    public void setShangbaoTime(Date shangbaoTime) {
        this.shangbaoTime = shangbaoTime;
    }

    public Integer getTimeType() {
        return timeType;
    }

    public void setTimeType(Integer timeType) {
        this.timeType = timeType;
    }

    private List<TSupervisorInfo> supervisorInfoList;

    public List<TSupervisorInfo> getSupervisorInfoList() {
        return supervisorInfoList;
    }

    public void setSupervisorInfoList(List<TSupervisorInfo> supervisorInfoList) {
        this.supervisorInfoList = supervisorInfoList;
    }

    public Integer getCreateType() {
        return createType;
    }

    public void setCreateType(Integer createType) {
        this.createType = createType;
    }

    /**
     * 隐患信息
     */
    private List<THiddenTroubleInfo> hiddenList;

    public List<THiddenTroubleInfo> getHiddenList() {
        return hiddenList;
    }

    public void setHiddenList(List<THiddenTroubleInfo> hiddenList) {
        this.hiddenList = hiddenList;
    }

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

    public Long getWorkId() 
    {
        return workId;
    }
    public void setWorkTitle(String workTitle) 
    {
        this.workTitle = workTitle;
    }

    public String getWorkTitle() 
    {
        return workTitle;
    }
    public void setWorkType(String workType) 
    {
        this.workType = workType;
    }

    public String getWorkType() 
    {
        return workType;
    }
    public void setWorkContent(String workContent) 
    {
        this.workContent = workContent;
    }

    public String getWorkContent() 
    {
        return workContent;
    }
    public void setWorkCreateEnterpriseName(String workCreateEnterpriseName) 
    {
        this.workCreateEnterpriseName = workCreateEnterpriseName;
    }

    public String getWorkCreateEnterpriseName() 
    {
        return workCreateEnterpriseName;
    }
    public void setWorkCreateEnterpriseId(String workCreateEnterpriseId) 
    {
        this.workCreateEnterpriseId = workCreateEnterpriseId;
    }

    public String getWorkCreateEnterpriseId() 
    {
        return workCreateEnterpriseId;
    }
    public void setWorkAssignEnterproseName(String workAssignEnterproseName) 
    {
        this.workAssignEnterproseName = workAssignEnterproseName;
    }

    public String getWorkAssignEnterproseName() 
    {
        return workAssignEnterproseName;
    }
246
    public void setWorkAssignEnterproseId(String workAssignEnterproseId)
247 248 249 250
    {
        this.workAssignEnterproseId = workAssignEnterproseId;
    }

251
    public String getWorkAssignEnterproseId()
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 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 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 400 401 402 403 404 405 406 407 408 409 410 411 412 413
    {
        return workAssignEnterproseId;
    }
    public void setWorkAssignManId(Long workAssignManId) 
    {
        this.workAssignManId = workAssignManId;
    }

    public Long getWorkAssignManId() 
    {
        return workAssignManId;
    }
    public void setWorkAssignMan(String workAssignMan) 
    {
        this.workAssignMan = workAssignMan;
    }

    public String getWorkAssignMan() 
    {
        return workAssignMan;
    }
    public void setWorkStatus(String workStatus) 
    {
        this.workStatus = workStatus;
    }

    public String getWorkStatus() 
    {
        return workStatus;
    }
    public void setInspectionDate(Date inspectionDate) 
    {
        this.inspectionDate = inspectionDate;
    }

    public Date getInspectionDate() 
    {
        return inspectionDate;
    }
    public void setInspectionRoute(String inspectionRoute) 
    {
        this.inspectionRoute = inspectionRoute;
    }

    public String getInspectionRoute() 
    {
        return inspectionRoute;
    }
    public void setProblemDescription(String problemDescription) 
    {
        this.problemDescription = problemDescription;
    }

    public String getProblemDescription() 
    {
        return problemDescription;
    }
    public void setIconUrl(String iconUrl) 
    {
        this.iconUrl = iconUrl;
    }

    public String getIconUrl() 
    {
        return iconUrl;
    }
    public void setRectificationPlan(String rectificationPlan) 
    {
        this.rectificationPlan = rectificationPlan;
    }

    public String getRectificationPlan() 
    {
        return rectificationPlan;
    }
    public void setRectificationResult(String rectificationResult) 
    {
        this.rectificationResult = rectificationResult;
    }

    public String getRectificationResult() 
    {
        return rectificationResult;
    }
    public void setResponsibleUnit(String responsibleUnit) 
    {
        this.responsibleUnit = responsibleUnit;
    }

    public String getResponsibleUnit() 
    {
        return responsibleUnit;
    }
    public void setResponsiblePerson(String responsiblePerson) 
    {
        this.responsiblePerson = responsiblePerson;
    }

    public String getResponsiblePerson() 
    {
        return responsiblePerson;
    }
    public void setExpiryDate(Date expiryDate) 
    {
        this.expiryDate = expiryDate;
    }

    public Date getExpiryDate() 
    {
        return expiryDate;
    }
    public void setIsDel(String isDel) 
    {
        this.isDel = isDel;
    }

    public String getIsDel() 
    {
        return isDel;
    }
    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("workId", getWorkId())
            .append("workTitle", getWorkTitle())
            .append("workType", getWorkType())
            .append("workContent", getWorkContent())
            .append("workCreateEnterpriseName", getWorkCreateEnterpriseName())
            .append("workCreateEnterpriseId", getWorkCreateEnterpriseId())
            .append("workAssignEnterproseName", getWorkAssignEnterproseName())
            .append("workAssignEnterproseId", getWorkAssignEnterproseId())
            .append("workAssignManId", getWorkAssignManId())
            .append("workAssignMan", getWorkAssignMan())
            .append("workStatus", getWorkStatus())
            .append("inspectionDate", getInspectionDate())
            .append("inspectionRoute", getInspectionRoute())
            .append("problemDescription", getProblemDescription())
            .append("iconUrl", getIconUrl())
            .append("rectificationPlan", getRectificationPlan())
            .append("rectificationResult", getRectificationResult())
            .append("responsibleUnit", getResponsibleUnit())
            .append("responsiblePerson", getResponsiblePerson())
            .append("expiryDate", getExpiryDate())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isDel", getIsDel())
            .append("remarks", getRemarks())
            .toString();
    }
}