package com.inspect.job.domain.task;

import com.inspect.base.core.annotation.Excel;
import com.inspect.base.core.web.domain.BaseEntity;
import lombok.*;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

@Setter
@Getter
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PatrolTaskInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;
    private Long lineId;
    @Excel(
            name = "关联id"
    )
    private String taskMajorId;
    @Excel(
            name = "设备点位ID"
    )
    private String deviceId;
    @Excel(
            name = "设备点位名称"
    )
    private String deviceName;
    @Excel(
            name = "部件ID"
    )
    private String componentId;
    @Excel(
            name = "部件名称"
    )
    private String componentName;
    @Excel(
            name = "间隔ID"
    )
    private String bayId;
    @Excel(
            name = "间隔名称"
    )
    private String bayName;
    @Excel(
            name = "主设备ID"
    )
    private String mainDeviceId;
    private String phyAssetId;
    private String presetCode;
    @Excel(
            name = "设备点位存储父级id"
    )
    private String parentId;
    @Excel(
            name = "巡视设备id"
    )
    private String ebookId;
    @Excel(
            name = "巡视设备名称"
    )
    private String ebookName;
    @Excel(
            name = "主设备名称"
    )
    private String mainDeviceName;
    private String videoPos;
    private int dataType;
    private String photoUrl;
    private String warnLevel;
    private String videoUrl;
    private String defectType;
    private String beginTime;
    private String endTime;
    private String status;
    private String pointStatus;
    private String suggestion;
    private String desc;
    private String taskName;
    private String priority;
    private String resultContent;
    private String deviceCode;
    private String devName;
    private String devNo;
    private String areName;
    private String devType;
    private String phase;
    private String alarmType;

    @Override
    public String toString() {
        return "PatrolTaskInfo{" +
                "lineId=" + lineId +
                ", taskMajorId='" + taskMajorId + '\'' +
                ", deviceId='" + deviceId + '\'' +
                ", deviceName='" + deviceName + '\'' +
                ", componentId='" + componentId + '\'' +
                ", componentName='" + componentName + '\'' +
                ", bayId='" + bayId + '\'' +
                ", bayName='" + bayName + '\'' +
                ", mainDeviceId='" + mainDeviceId + '\'' +
                ", phyAssetId='" + phyAssetId + '\'' +
                ", presetCode='" + presetCode + '\'' +
                ", parentId='" + parentId + '\'' +
                ", ebookId='" + ebookId + '\'' +
                ", ebookName='" + ebookName + '\'' +
                ", mainDeviceName='" + mainDeviceName + '\'' +
                ", videoPos='" + videoPos + '\'' +
                ", dataType=" + dataType +
                ", photoUrl='" + photoUrl + '\'' +
                ", warnLevel='" + warnLevel + '\'' +
                ", videoUrl='" + videoUrl + '\'' +
                ", defectType='" + defectType + '\'' +
                ", beginTime='" + beginTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", status='" + status + '\'' +
                ", pointStatus='" + pointStatus + '\'' +
                ", suggestion='" + suggestion + '\'' +
                ", desc='" + desc + '\'' +
                ", taskName='" + taskName + '\'' +
                ", priority='" + priority + '\'' +
                ", resultContent='" + resultContent + '\'' +
                ", deviceCode='" + deviceCode + '\'' +
                ", devName='" + devName + '\'' +
                ", devNo='" + devNo + '\'' +
                ", areName='" + areName + '\'' +
                ", devType='" + devType + '\'' +
                ", phase='" + phase + '\'' +
                ", alarmType='" + alarmType + '\'' +
                '}';
    }
}
