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:59
 */
public class SubVoltageExcelBody extends BaseRowModel implements Serializable {

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

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

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

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

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

    @Column(name="SUBV_NUM")
    @ExcelProperty(value = "母线号" ,index = 5)
    private BigDecimal subvNum;

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

    @Column(name="SUBVMODEL")
    @ExcelProperty(value = "母线模型" ,index = 7)
    private BigDecimal subvModel;

    public BigDecimal getSubvIndex() {
        return subvIndex;
    }

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

    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 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 getSubvNum() {
        return subvNum;
    }

    public void setSubvNum(BigDecimal subvNum) {
        this.subvNum = subvNum;
    }

    public String getScale() {
        return scale;
    }

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

    public BigDecimal getSubvModel() {
        return subvModel;
    }

    public void setSubvModel(BigDecimal subvModel) {
        this.subvModel = subvModel;
    }

    @Override
    public String toString() {
        return "SubVoltageExcelBody{" +
                "subvIndex=" + subvIndex +
                ", gdIndex=" + gdIndex +
                ", subIndex=" + subIndex +
                ", devIndex=" + devIndex +
                ", name='" + name + '\'' +
                ", subvNum=" + subvNum +
                ", scale='" + scale + '\'' +
                ", subvModel=" + subvModel +
                '}';
    }
}
