package com.njcn.pojo.data;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;

import javax.persistence.Column;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author hongawen
 * @Date: 2018/11/6 10:58
 */
public class EventDetailExcelBody  extends BaseRowModel implements Serializable {

    @Column(name="EVENTDETAIL_INDEX")
    @ExcelProperty(value = "事件索引" ,index = 0)
    private String eventDetailIndex;

    @Column(name="LINEID")
    @ExcelProperty(value = "监测点ID" ,index = 1)
    private BigDecimal lineId;

    @Column(name="TIMEID")
    @ExcelProperty(value = "暂降发生时间" ,index = 2)
    private String timeId;

    //事件发生时间的毫秒计时
    @Column(name="MS")
    @ExcelProperty(value = "毫秒计时" ,index = 3)
    private BigDecimal ms;

    @Column(name="DESCRIBE")
    @ExcelProperty(value = "事件描述" ,index = 4)
    private String describe;

    @Column(name="WAVETYPE")
    @ExcelProperty(value = "事件类型" ,index = 5)
    private BigDecimal waveType;

    //持续时间
    @Column(name="PERSISTTIME")
    @ExcelProperty(value = "持续时间" ,index = 6)
    private BigDecimal persistTime;

    //特征幅值
    @Column(name="EVENTVALUE")
    @ExcelProperty(value = "特征幅值" ,index = 7)
    private BigDecimal eventValue;

    @Column(name="EVENTREASON")
    @ExcelProperty(value = "暂降原因" ,index = 8)
    private String eventReason;

    @Column(name="EVENTTYPE")
    @ExcelProperty(value = "暂降类型" ,index = 9)
    private String eventType;

    @Column(name="EVENTASS_INDEX")
    @ExcelProperty(value = "关联分析索引" ,index = 10)
    private String eventassIndex;

    @Column(name="DQTIME")
    @ExcelProperty(value = "DQ计算持续时间" ,index = 11)
    private BigDecimal dqTime;

    @Column(name="DEALTIME")
    @ExcelProperty(value = "特征值计算更新时间" ,index = 12)
    private String dealTime;

    @Column(name="NUM")
    @ExcelProperty(value = "事件个数" ,index = 13)
    private BigDecimal num;

    @Column(name="FILEFLAG")
    @ExcelProperty(value = "波形是否招到本地" ,index = 14)
    private String fileFlag;

    @Column(name="DEALFLAG")
    @ExcelProperty(value = "特征值计算标志" ,index = 15)
    private String dealFlag;

    @Column(name="FIRSTTIME")
    @ExcelProperty(value = "处理结果第一条事件发生时间" ,index = 16)
    private String firstTime;

    @Column(name = "FIRSTTYPE")
    @ExcelProperty(value = "处理结果第一条事件类型" ,index = 17)
    private String firstType;

    @Column(name="FIRSTMS")
    @ExcelProperty(value = "处理结果第一条发生毫秒" ,index = 18)
    private BigDecimal firstMs;

    @Column(name = "WAVENAME")
    @ExcelProperty(value = "波形名称" ,index = 19)
    private String waveName;

    @Column(name="Energy")
    @ExcelProperty(value = "暂降能量" ,index = 20)
    private BigDecimal energy;

    @Column(name="Severity")
    @ExcelProperty(value = "暂降严重度" ,index = 21)
    private BigDecimal severity;

    public String getEventDetailIndex() {
        return eventDetailIndex;
    }

    public void setEventDetailIndex(String eventDetailIndex) {
        this.eventDetailIndex = eventDetailIndex;
    }

    public BigDecimal getLineId() {
        return lineId;
    }

    public void setLineId(BigDecimal lineId) {
        this.lineId = lineId;
    }

    public String getTimeId() {
        return timeId;
    }

    public void setTimeId(String timeId) {
        this.timeId = timeId;
    }

    public BigDecimal getMs() {
        return ms;
    }

    public void setMs(BigDecimal ms) {
        this.ms = ms;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public BigDecimal getWaveType() {
        return waveType;
    }

    public void setWaveType(BigDecimal waveType) {
        this.waveType = waveType;
    }

    public BigDecimal getPersistTime() {
        return persistTime;
    }

    public void setPersistTime(BigDecimal persistTime) {
        this.persistTime = persistTime;
    }

    public BigDecimal getEventValue() {
        return eventValue;
    }

    public void setEventValue(BigDecimal eventValue) {
        this.eventValue = eventValue;
    }

    public String getEventReason() {
        return eventReason;
    }

    public void setEventReason(String eventReason) {
        this.eventReason = eventReason;
    }

    public String getEventType() {
        return eventType;
    }

    public void setEventType(String eventType) {
        this.eventType = eventType;
    }

    public String getEventassIndex() {
        return eventassIndex;
    }

    public void setEventassIndex(String eventassIndex) {
        this.eventassIndex = eventassIndex;
    }

    public BigDecimal getDqTime() {
        return dqTime;
    }

    public void setDqTime(BigDecimal dqTime) {
        this.dqTime = dqTime;
    }

    public String getDealTime() {
        return dealTime;
    }

    public void setDealTime(String dealTime) {
        this.dealTime = dealTime;
    }

    public BigDecimal getNum() {
        return num;
    }

    public void setNum(BigDecimal num) {
        this.num = num;
    }

    public String getFileFlag() {
        return fileFlag;
    }

    public void setFileFlag(String fileFlag) {
        this.fileFlag = fileFlag;
    }

    public String getDealFlag() {
        return dealFlag;
    }

    public void setDealFlag(String dealFlag) {
        this.dealFlag = dealFlag;
    }

    public String getFirstTime() {
        return firstTime;
    }

    public void setFirstTime(String firstTime) {
        this.firstTime = firstTime;
    }

    public String getFirstType() {
        return firstType;
    }

    public void setFirstType(String firstType) {
        this.firstType = firstType;
    }

    public BigDecimal getFirstMs() {
        return firstMs;
    }

    public void setFirstMs(BigDecimal firstMs) {
        this.firstMs = firstMs;
    }

    public String getWaveName() {
        return waveName;
    }

    public void setWaveName(String waveName) {
        this.waveName = waveName;
    }

    public BigDecimal getEnergy() {
        return energy;
    }

    public void setEnergy(BigDecimal energy) {
        this.energy = energy;
    }

    public BigDecimal getSeverity() {
        return severity;
    }

    public void setSeverity(BigDecimal severity) {
        this.severity = severity;
    }

    @Override
    public String toString() {
        return "EventDetailExcelBody{" +
                "eventDetailIndex='" + eventDetailIndex + '\'' +
                ", lineId=" + lineId +
                ", timeId=" + timeId +
                ", ms=" + ms +
                ", describe='" + describe + '\'' +
                ", waveType=" + waveType +
                ", persistTime=" + persistTime +
                ", eventValue=" + eventValue +
                ", eventReason='" + eventReason + '\'' +
                ", eventType='" + eventType + '\'' +
                ", eventassIndex='" + eventassIndex + '\'' +
                ", dqTime=" + dqTime +
                ", DealTime=" + dealTime +
                ", num=" + num +
                ", fileFlag='" + fileFlag + '\'' +
                ", dealFlag='" + dealFlag + '\'' +
                ", firstTime=" + firstTime +
                ", firstType='" + firstType + '\'' +
                ", firstMs=" + firstMs +
                ", waveName='" + waveName + '\'' +
                ", energy=" + energy +
                ", severity=" + severity +
                '}';
    }
}
