package com.inspect.metadata.montdata.domain;

import com.alibaba.fastjson.annotation.JSONField;
import com.inspect.base.core.annotation.Excel;
import com.inspect.base.core.web.domain.BaseEntity;

import java.util.Date;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class BasedataMontPatDevAlmAbn extends BaseEntity {
    private static final long serialVersionUID = 1L;
    private Long abnId;
    @Excel(
            name = "巡检设备ID"
    )
    private Long eqpBookId;
    @Excel(
            name = "巡视设备编码"
    )
    private String patrolDeviceCode;
    @Excel(
            name = "巡视设备名称"
    )
    private String patrolDeviceName;
    @Excel(
            name = "时间"
    )
    private String time;
    private String type;
    @JSONField(name = "type_name")
    private String typeName;
    private String value;

    @JSONField(name = "value_name")
    private String valueName;
    @JSONField(name = "value_unit")
    private String valueUnit;
    private String unit;
    @Excel(
            name = "告警描述"
    )
    private String content;
    private String createBy;
    private Date createTime;
    private String updateBy;
    private Date updateTime;
    @Excel(
            name = "删除标志，0：正常；2：删除"
    )
    private String deleteFlag;
    @Excel(
            name = "相对空间位置 x"
    )
    private String positionX;
    @Excel(
            name = "相对空间位置 y"
    )
    private String positionY;
    @Excel(
            name = "相对空间位置 z"
    )
    private String positionZ;

    @Override
    public String toString() {
        return "BasedataMontPatDevAlmAbn{" +
                "abnId=" + abnId +
                ", eqpBookId=" + eqpBookId +
                ", patrolDeviceCode='" + patrolDeviceCode + '\'' +
                ", patrolDeviceName='" + patrolDeviceName + '\'' +
                ", time='" + time + '\'' +
                ", type='" + type + '\'' +
                ", typeName='" + typeName + '\'' +
                ", value='" + value + '\'' +
                ", valueName='" + valueName + '\'' +
                ", valueUnit='" + valueUnit + '\'' +
                ", unit='" + unit + '\'' +
                ", content='" + content + '\'' +
                ", createBy='" + createBy + '\'' +
                ", createTime=" + createTime +
                ", updateBy='" + updateBy + '\'' +
                ", updateTime=" + updateTime +
                ", deleteFlag='" + deleteFlag + '\'' +
                ", positionX='" + positionX + '\'' +
                ", positionY='" + positionY + '\'' +
                ", positionZ='" + positionZ + '\'' +
                '}';
    }
}
