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

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

    @Column(name = "Manufacturer")
    @ExcelProperty(value = "设备制造商" ,index = 1)
    private String manufacturer;

    @Column(name = "CheckFlag")
    @ExcelProperty(value = "定检状态" ,index = 2)
    private BigDecimal checkFlag;

    @Column(name="ThisTimeCheck")
    @ExcelProperty(value = "本次定检时间" ,index = 3)
    private String thisTimeCheck;

    @Column(name="NextTimeCheck")
    @ExcelProperty(value = "下次定检时间" ,index = 4)
    private String nextTimeCheck;

    public BigDecimal getDevIndex() {
        return devIndex;
    }

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

    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }

    public BigDecimal getCheckFlag() {
        return checkFlag;
    }

    public void setCheckFlag(BigDecimal checkFlag) {
        this.checkFlag = checkFlag;
    }

    public String getThisTimeCheck() {
        return thisTimeCheck;
    }

    public void setThisTimeCheck(String thisTimeCheck) {
        this.thisTimeCheck = thisTimeCheck;
    }

    public String getNextTimeCheck() {
        return nextTimeCheck;
    }

    public void setNextTimeCheck(String nextTimeCheck) {
        this.nextTimeCheck = nextTimeCheck;
    }

    @Override
    public String toString() {
        return "DeviceDetailExcelBody{" +
                "devIndex=" + devIndex +
                ", manufacturer='" + manufacturer + '\'' +
                ", checkFlag=" + checkFlag +
                ", thisTimeCheck='" + thisTimeCheck + '\'' +
                ", nextTimeCheck='" + nextTimeCheck + '\'' +
                '}';
    }
}
