admin
2021-01-27 92f1d85ddc449ce7452f9d52f8b081e6b69c720b
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
package org.yeshi.utils.generater.entity;
 
public class ColumnData {
    private String columnName;
    private String columnMehtod;
 
 
    public ColumnData() {
    }
 
    public ColumnData(String columnName) {
        this.columnName = columnName;
        this.columnMehtod = "get" + (columnName.subSequence(0, 1) + "").toUpperCase() + columnName.subSequence(1, columnName.length()) + "()";
    }
 
    public String getColumnName() {
        return columnName;
    }
 
    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }
 
 
    public String getColumnMehtod() {
        return columnMehtod;
    }
 
    public void setColumnMehtod(String columnMehtod) {
        this.columnMehtod = columnMehtod;
    }
}