All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.rrsunhome.excelsql.config.SheetMapping Maven / Gradle / Ivy

There is a newer version: 2.1.2
Show newest version
package com.github.rrsunhome.excelsql.config;

import lombok.Builder;
import lombok.Getter;
import lombok.Setter;

/**
 * @author : wangqijia
 * create at:  2021/10/26  上午10:26
 */
@Builder
@Getter
@Setter
public class SheetMapping {

    private static final int DEFAULT_READ_ROW = 1;

    private static final int DEFAULT_SHEET_INDEX = 0;

    private static final int DEFAULT_TITLE_ROW_INDEX = 0;

    /**
     * 标题行标
     */
    @Builder.Default
    private Integer titleRowIndex = DEFAULT_TITLE_ROW_INDEX;

    /**
     * 数据范围
     */
    @Builder.Default
    private Range dataRowRange = Range.createNumRange(DEFAULT_READ_ROW, Integer.MAX_VALUE);
    @Builder.Default
    private Integer sheetIndex = DEFAULT_SHEET_INDEX;
    private String sheetName;


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy