package com.njcn.pojo.excelBody;

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/8 14:35
 */
public class LineExcelBody extends BaseRowModel implements Serializable {

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

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

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

    @Column(name="SUBV_INDEX")
    @ExcelProperty(value = "母线序号" ,index = 3)
    private BigDecimal subvIndex;

    @Column(name = "DEV_INDEX")
    @ExcelProperty(value = "装置序号" ,index = 4)
    private BigDecimal devIndex;

    @Column(name = "NAME")
    @ExcelProperty(value = "线路名称" ,index = 5)
    private String name;

    @Column(name="PT1")
    @ExcelProperty(value = "PT一次变化" ,index = 6)
    private BigDecimal pt1;

    @Column(name="PT2")
    @ExcelProperty(value = "PT二次变化" ,index = 7)
    private BigDecimal pt2;

    @Column(name="CT1")
    @ExcelProperty(value = "CT一次变化" ,index = 8)
    private BigDecimal ct1;

    @Column(name="ct2")
    @ExcelProperty(value = "CT二次变化" ,index = 9)
    private BigDecimal ct2;

    //设备容量
    @Column(name="DEVCMP")
    @ExcelProperty(value = "设备容量" ,index = 10)
    private BigDecimal devcMp;

    //短路容量
    @Column(name="DLCMP")
    @ExcelProperty(value = "短路容量" ,index = 11)
    private BigDecimal dlcMp;

    //基准容量
    @Column(name="JZCMP")
    @ExcelProperty(value = "基准容量" ,index = 12)
    private BigDecimal jzcMp;

    //协议容量
    @Column(name="XYCMP")
    @ExcelProperty(value = "协议容量" ,index = 13)
    private BigDecimal xycMp;

    @Column(name="SUBV_NO")
    @ExcelProperty(value = "母线号" ,index = 14)
    private BigDecimal subVNo;


    @Column(name="SCALE")
    @ExcelProperty(value = "电压等级" ,index = 15)
    private String scale;

    @Column(name="SUBV_NAME")
    @ExcelProperty(value = "母线名" ,index = 16)
    private String subvName;


    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 BigDecimal getSubvIndex() {
        return subvIndex;
    }

    public void setSubvIndex(BigDecimal subvIndex) {
        this.subvIndex = subvIndex;
    }

    public BigDecimal getDevIndex() {
        return devIndex;
    }

    public void setDevIndex(BigDecimal devIndex) {
        this.devIndex = devIndex;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getPt1() {
        return pt1;
    }

    public void setPt1(BigDecimal pt1) {
        this.pt1 = pt1;
    }

    public BigDecimal getPt2() {
        return pt2;
    }

    public void setPt2(BigDecimal pt2) {
        this.pt2 = pt2;
    }

    public BigDecimal getCt1() {
        return ct1;
    }

    public void setCt1(BigDecimal ct1) {
        this.ct1 = ct1;
    }

    public BigDecimal getCt2() {
        return ct2;
    }

    public void setCt2(BigDecimal ct2) {
        this.ct2 = ct2;
    }

    public BigDecimal getDevcMp() {
        return devcMp;
    }

    public void setDevcMp(BigDecimal devcMp) {
        this.devcMp = devcMp;
    }

    public BigDecimal getDlcMp() {
        return dlcMp;
    }

    public void setDlcMp(BigDecimal dlcMp) {
        this.dlcMp = dlcMp;
    }

    public BigDecimal getJzcMp() {
        return jzcMp;
    }

    public void setJzcMp(BigDecimal jzcMp) {
        this.jzcMp = jzcMp;
    }

    public BigDecimal getXycMp() {
        return xycMp;
    }

    public void setXycMp(BigDecimal xycMp) {
        this.xycMp = xycMp;
    }

    public BigDecimal getSubVNo() {
        return subVNo;
    }

    public void setSubVNo(BigDecimal subVNo) {
        this.subVNo = subVNo;
    }

    public String getScale() {
        return scale;
    }

    public void setScale(String scale) {
        this.scale = scale;
    }

    public String getSubvName() {
        return subvName;
    }

    public void setSubvName(String subvName) {
        this.subvName = subvName;
    }

    @Override
    public String toString() {
        return "LineExcelBody{" +
                "lineIndex=" + lineIndex +
                ", gdIndex=" + gdIndex +
                ", subIndex=" + subIndex +
                ", subvIndex=" + subvIndex +
                ", devIndex=" + devIndex +
                ", name='" + name + '\'' +
                ", pt1=" + pt1 +
                ", pt2=" + pt2 +
                ", ct1=" + ct1 +
                ", ct2=" + ct2 +
                ", devcMp=" + devcMp +
                ", dlcMp=" + dlcMp +
                ", jzcMp=" + jzcMp +
                ", xycMp=" + xycMp +
                ", subVNo=" + subVNo +
                ", scale='" + scale + '\'' +
                ", subvName='" + subvName + '\'' +
                '}';
    }
}
