package com.inspect.metadata.montdata.domain;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
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 BasedataMontPatDevRunData extends BaseEntity {
    private static final long serialVersionUID = 1L;
    private Long dataId;
    @Excel(
            name = "巡检设备ID"
    )
    private Long eqpBookId;
    @Excel(
            name = "巡视设备编码"
    )
    private String patrolDeviceCode;
    @Excel(
            name = "巡视设备名称"
    )
    private String patrolDeviceName;
    @Excel(
            name = "时间"
    )
    private String time;
    @Excel(
            name = "类型，1: = 水平速度2: = 行驶里程3: = 电池电量4: = 垂直速度  5: = 飞行距离  6: = 飞行高度  7: = 飞行时长  8: = 云台俯仰角9: = 云台横滚角10: = 云台偏航角11: = 充电电流 "
    )
    private String type;
    @Excel(
            name = "类型名称"
    )
    @JsonProperty("type_name")
    @JSONField(name = "type_name")
    private String typeName;
    @Excel(
            name = "值"
    )
    private String value;
    @Excel(
            name = "值带单位"
    )
    @JsonProperty("value_unit")
    @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 "BasedataMontPatDevRunData{" +
                "dataId=" + dataId +
                ", eqpBookId=" + eqpBookId +
                ", patrolDeviceCode='" + patrolDeviceCode + '\'' +
                ", patrolDeviceName='" + patrolDeviceName + '\'' +
                ", time='" + time + '\'' +
                ", type='" + type + '\'' +
                ", typeName='" + typeName + '\'' +
                ", value='" + value + '\'' +
                ", valueUnit='" + valueUnit + '\'' +
                ", unit='" + unit + '\'' +
                ", createBy='" + createBy + '\'' +
                ", createTime=" + createTime +
                ", updateBy='" + updateBy + '\'' +
                ", updateTime=" + updateTime +
                ", deleteFlag='" + deleteFlag + '\'' +
                '}';
    }
}
