wangting
2024-11-14 c162f50f97a418ec10f0dd48d9e4c34e392c4281
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
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 + '\'' +
                '}';
    }
}