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/9 10:55
 */
public class DicTypeExcelBody extends BaseRowModel implements Serializable {

    @Column(name="DICTYPE_INDEX")
    @ExcelProperty(value = "字典类型序号" ,index = 0)
    private String dicTypeIndex;

    @Column(name="DICTYPE_NAME")
    @ExcelProperty(value = "字典类型名称" ,index = 1)
    private String dicTypeName;

    @Column(name="DICTYPE_NUMBER")
    @ExcelProperty(value = "排序号" ,index = 2)
    private BigDecimal dicTypeNumber;

    @Column(name="DICTYPE_DESCRIBE")
    @ExcelProperty(value = "描述" ,index = 3)
    private String dicTypeDiscribe;

    @Column(name="STATE")
    @ExcelProperty(value = "数据状态" ,index = 4)
    private BigDecimal state;

    @Column(name="USER_INDEX")
    @ExcelProperty(value = "更新用户索引" ,index = 5)
    private String userIndex;

    @Column(name="UPDATETIME")
    @ExcelProperty(value = "更新时间" ,index = 6)
    private String updateTime;

    public String getDicTypeIndex() {
        return dicTypeIndex;
    }

    public void setDicTypeIndex(String dicTypeIndex) {
        this.dicTypeIndex = dicTypeIndex;
    }

    public String getDicTypeName() {
        return dicTypeName;
    }

    public void setDicTypeName(String dicTypeName) {
        this.dicTypeName = dicTypeName;
    }

    public BigDecimal getDicTypeNumber() {
        return dicTypeNumber;
    }

    public void setDicTypeNumber(BigDecimal dicTypeNumber) {
        this.dicTypeNumber = dicTypeNumber;
    }


    public BigDecimal getState() {
        return state;
    }

    public void setState(BigDecimal state) {
        this.state = state;
    }

    public String getUserIndex() {
        return userIndex;
    }

    public void setUserIndex(String userIndex) {
        this.userIndex = userIndex;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }


    public String getDicTypeDiscribe() {
        return dicTypeDiscribe;
    }

    public void setDicTypeDiscribe(String dicTypeDiscribe) {
        this.dicTypeDiscribe = dicTypeDiscribe;
    }

    @Override
    public String toString() {
        return "DicTypeExcelBody{" +
                "dicTypeIndex='" + dicTypeIndex + '\'' +
                ", dicTypeName='" + dicTypeName + '\'' +
                ", dicTypeNumber=" + dicTypeNumber +
                ", dicTypeDiscribe='" + dicTypeDiscribe + '\'' +
                ", state=" + state +
                ", userIndex='" + userIndex + '\'' +
                ", updateTime='" + updateTime + '\'' +
                '}';
    }
}
