package com.njcn.pojo.excelBody;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import com.njcn.enums.DicDataTypeEnum;

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

/**
 * @author hongawen
 * @Date: 2018/11/8 14:30
 */
public class LineDetailExcelBody extends BaseRowModel implements Serializable {

    @Column(name = "LINE_INDEX")
    @ExcelProperty(value = "监测点序号" ,index = 0)
    private BigDecimal lineIndex;

    @Column(name = "GD_INDEX")
    @ExcelProperty(value = "供电公司序号" ,index =2)
    private BigDecimal gdIndex;

    @Column(name = "SUB_INDEX")
    @ExcelProperty(value = "变电站序号" ,index = 1)
    private BigDecimal subIndex;


    @Column(name="LINE_NAME")
    @ExcelProperty(value = "监测点名称" ,index = 3)
    private String lineName;

    //接线类型
    @Column(name="PTTYPE")
    @ExcelProperty(value = "接线类型" ,index = 4)
    private BigDecimal ptType;

    //上次更新时间
    @Column(name="LAST_TIME")
    @ExcelProperty(value = "上次更新时间" ,index = 5)
    private String lastTime;

    //测量间隔
    @Column(name="TINTERVAL")
    @ExcelProperty(value = "测量间隔" ,index = 6)
    private BigDecimal tinterval;

    //干扰源类型终
    @Column(name="LOADTYPE")
    @ExcelProperty(value = "干扰源类型",index = 7)
    private String loadType;

    //行业类型
    @Column(name="BUSINESSTYPE")
    @ExcelProperty(value = "行业类型" ,index = 8)
    private String businessType;

    //备注
    @Column(name="REMARK")
    @ExcelProperty(value = "备注" ,index = 9)
    private String remark;

    //国网谐波监测平台监测点号
    @Column(name="MONITOR_ID")
    @ExcelProperty(value = "国网谐波监测平台监测点号" ,index = 10)
    private String monitorId;


    public BigDecimal getLineIndex() {
        return lineIndex;
    }

    public void setLineIndex(BigDecimal lineIndex) {
        this.lineIndex = lineIndex;
    }

    public BigDecimal getGdIndex() {
        return gdIndex;
    }

    public void setGdIndex(BigDecimal gdIndex) {
        this.gdIndex = gdIndex;
    }

    public BigDecimal getSubIndex() {
        return subIndex;
    }

    public void setSubIndex(BigDecimal subIndex) {
        this.subIndex = subIndex;
    }

    public String getLineName() {
        return lineName;
    }

    public void setLineName(String lineName) {
        this.lineName = lineName;
    }

    public BigDecimal getPtType() {
        return ptType;
    }

    public void setPtType(BigDecimal ptType) {
        this.ptType = ptType;
    }

    public String getLastTime() {
        return lastTime;
    }

    public void setLastTime(String lastTime) {
        this.lastTime = lastTime;
    }

    public BigDecimal getTinterval() {
        return tinterval;
    }

    public void setTinterval(BigDecimal tinterval) {
        this.tinterval = tinterval;
    }

    public String getLoadType() {
        return loadType;
    }

    public void setLoadType(String loadType) {
        this.loadType = loadType;
    }

    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getMonitorId() {
        return monitorId;
    }

    public void setMonitorId(String monitorId) {
        this.monitorId = monitorId;
    }

    @Override
    public String toString() {
        return "LineDetailExcelBody{" +
                "lineIndex=" + lineIndex +
                ", gdIndex=" + gdIndex +
                ", subIndex=" + subIndex +
                ", lineName='" + lineName + '\'' +
                ", ptType=" + ptType +
                ", lastTime=" + lastTime +
                ", tinterval=" + tinterval +
                ", loadType='" + loadType + '\'' +
                ", businessType='" + businessType + '\'' +
                ", remark='" + remark + '\'' +
                ", monitorId='" + monitorId + '\'' +
                '}';
    }
}
