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;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

@Setter
@Getter
public class BasedataMontNestStaData extends BaseEntity {
    private static final long serialVersionUID = 1L;
    private Long dataId;
    @Excel(
            name = "巡检设备ID"
    )
    private Long eqpBookId;
    @Excel(
            name = "机巢编码"
    )
    private String nestCode;
    @Excel(
            name = "机巢名称"
    )
    private String nestName;
    @Excel(
            name = "时间"
    )
    private String time;
    @Excel(
            name = "类型，1: = 运行状态 0: = 初始化 1: = 自检中 2: = 等待重置 3: = 重置中 4: = 待机 5: = 异常; 2: = 舱门状态 0: = 关闭 1: = 启动; 3: = 平台状态 0: = 关闭 1: = 启动; 4: = 充电状态 0: = 未充电 1: = 充电中 2: = 充电完成; 5: = 空调状态 0: = 关闭 1: = 启动 2: = 异常"
    )
    private String type;
    @Excel(
            name = "类型名称"
    )
    @JSONField(name = "type_name")
    private String typeName;
    @Excel(
            name = "值"
    )
    private String value;
    @Excel(
            name = "值对名称"
    )
    @JSONField(name = "value_name")
    private String valueName;
    @Excel(
            name = "值带单位"
    )
    @JSONField(name = "value_unit")
    private String valueUnit;
    @Excel(
            name = "单位"
    )
    private String unit;
    private String createBy;
    private Date createTime;
    private String updateBy;
    private Date updateTime;
    @Excel(
            name = "删除标志，0：正常；2：删除"
    )
    private String deleteFlag;

    @Override
    public String toString() {
        return "BasedataMontNestStaData{" +
                "dataId=" + dataId +
                ", eqpBookId=" + eqpBookId +
                ", nestCode='" + nestCode + '\'' +
                ", nestName='" + nestName + '\'' +
                ", time='" + time + '\'' +
                ", type='" + type + '\'' +
                ", typeName='" + typeName + '\'' +
                ", value='" + value + '\'' +
                ", valueName='" + valueName + '\'' +
                ", valueUnit='" + valueUnit + '\'' +
                ", unit='" + unit + '\'' +
                ", createBy='" + createBy + '\'' +
                ", createTime=" + createTime +
                ", updateBy='" + updateBy + '\'' +
                ", updateTime=" + updateTime +
                ", deleteFlag='" + deleteFlag + '\'' +
                '}';
    }
}
