package com.inspect.exec.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.inspect.base.core.annotation.Excel;
import com.inspect.base.core.web.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

@Setter
@Getter
public class DBPatrolPoint extends BaseEntity {
    private static final long serialVersionUID = 1L;
    @JsonProperty("patrolpointId")
    private Long patrolPointId;
    @Excel(
            name = "点位编码"
    )
    @JsonProperty("patrolpointCode")
    private String patrolPointCode;
    @Excel(
            name = "点位名称"
    )
    @JsonProperty("patrolpointName")
    private String patrolPointName;
    @Excel(
            name = "主设备类型ID"
    )
    @JsonProperty("devicetypeId")
    private Long deviceTypeId;
    @Excel(
            name = "主设备id"
    )
    private Long mainDeviceId;
    @Excel(
            name = "设备id，真正配置点位的主设备id或者部件id"
    )
    private Long deviceId;
    @Excel(
            name = "巡检内容"
    )
    private String patrolContent;
    @Excel(
            name = "用途"
    )
    private String purpose;
    @Excel(
            name = "删除标志，0：正常；2：删除"
    )
    private String deleteFlag;
    @Excel(
            name = "标准巡检点位ID"
    )
    @JsonProperty("stdparolPointId")
    private Long stdParolPointId;
    private Long areaId;
    private String patrolTypeId;
    private String pointImptLevel;
    private String alarmThreshold;
    private String algSubtypeId;
    private String algSubtypeName;
    @Excel(
            name = "识别下限"
    )
    private String lowerValue;
    @Excel(
            name = "识别上限"
    )
    private String upperValue;
    private String positionX;
    private String positionY;
    private String positionZ;
    @Excel(
            name = "算法id，逗号隔开"
    )
    private String algSubtypeIds;
    @Excel(
            name = "上传原有算法id，逗号分割"
    )
    private String originalAlgSubtypeIds;
    @Excel(
            name = "上传原有生产设备编号"
    )
    private String originalDeviceId;
    @Excel(
            name = "判别基准图片路径"
    )
    private String disRefPicturePath;
    @Excel(
            name = "源上传主设备编号"
    )
    private String originalMainDeviceId;

    @Override
    public String toString() {
        return "DBPatrolPoint{" +
                "patrolPointId=" + patrolPointId +
                ", patrolPointCode='" + patrolPointCode + '\'' +
                ", patrolPointName='" + patrolPointName + '\'' +
                ", deviceTypeId=" + deviceTypeId +
                ", mainDeviceId=" + mainDeviceId +
                ", deviceId=" + deviceId +
                ", patrolContent='" + patrolContent + '\'' +
                ", purpose='" + purpose + '\'' +
                ", deleteFlag='" + deleteFlag + '\'' +
                ", stdParolPointId=" + stdParolPointId +
                ", areaId=" + areaId +
                ", patrolTypeId='" + patrolTypeId + '\'' +
                ", pointImptLevel='" + pointImptLevel + '\'' +
                ", alarmThreshold='" + alarmThreshold + '\'' +
                ", algSubtypeId='" + algSubtypeId + '\'' +
                ", algSubtypeName='" + algSubtypeName + '\'' +
                ", lowerValue='" + lowerValue + '\'' +
                ", upperValue='" + upperValue + '\'' +
                ", positionX='" + positionX + '\'' +
                ", positionY='" + positionY + '\'' +
                ", positionZ='" + positionZ + '\'' +
                ", algSubtypeIds='" + algSubtypeIds + '\'' +
                ", originalAlgSubtypeIds='" + originalAlgSubtypeIds + '\'' +
                ", originalDeviceId='" + originalDeviceId + '\'' +
                ", disRefPicturePath='" + disRefPicturePath + '\'' +
                ", originalMainDeviceId='" + originalMainDeviceId + '\'' +
                '}';
    }
}
