package com.vci.starter.poi.bo; /** * 针对map的方式的读取时,内容 * @author weidy * @date 2020/6/18 */ public class ExcelColumnMap { /** * 标题中文 */ private String title; /** * 英文名称 */ private String columnName; /** * 是否可以为空 */ private boolean nullable = true; /** * 正则表达式 */ private String regExg; /** * 不满足正则表达式的时候的提示值,可以是多语言编号 * @return 默认为空 */ private String regExgTitle; /** * 属性分组 */ private String group; public ExcelColumnMap(){ } public ExcelColumnMap(String title,String columnName){ this.title = title; this.columnName = columnName; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public String getColumnName() { return columnName; } public void setColumnName(String columnName) { this.columnName = columnName; } public boolean isNullable() { return nullable; } public void setNullable(boolean nullable) { this.nullable = nullable; } public String getRegExg() { return regExg; } public void setRegExg(String regExg) { this.regExg = regExg; } public String getRegExgTitle() { return regExgTitle; } public void setRegExgTitle(String regExgTitle) { this.regExgTitle = regExgTitle; } public String getGroup() { return group; } public void setGroup(String group) { this.group = group; } @Override public String toString() { return "ExcelColumnMap{" + "title='" + title + '\'' + ", columnName='" + columnName + '\'' + ", nullable=" + nullable + ", regExg='" + regExg + '\'' + ", regExgTitle='" + regExgTitle + '\'' + ", group='" + group + '\'' + '}'; } }