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 BasedataMontNestRunData 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 moduleNo;
    @Excel(
            name = "时间"
    )
    private String time;
    @Excel(
            name = "类型，1: = 电池电量 ;2: = 电池使用状态 1: = 充电中 2: = 使用中; 3: = 电池状态 1: = 正常 2: = 异常; 4: = 电池电压 5: = 舱内温度 6: = 舱内湿度"
    )
    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 "BasedataMontNestRunData{" +
                "dataId=" + dataId +
                ", eqpBookId=" + eqpBookId +
                ", nestCode='" + nestCode + '\'' +
                ", nestName='" + nestName + '\'' +
                ", moduleNo='" + moduleNo + '\'' +
                ", time='" + time + '\'' +
                ", type='" + type + '\'' +
                ", typeName='" + typeName + '\'' +
                ", value='" + value + '\'' +
                ", valueName='" + valueName + '\'' +
                ", valueUnit='" + valueUnit + '\'' +
                ", unit='" + unit + '\'' +
                ", createBy='" + createBy + '\'' +
                ", createTime=" + createTime +
                ", updateBy='" + updateBy + '\'' +
                ", updateTime=" + updateTime +
                ", deleteFlag='" + deleteFlag + '\'' +
                '}';
    }
}
