admin
2022-04-07 211840b64fa1132d76d6dff6c779e9ba2c0c450f
src/main/java/org/yeshi/utils/generater/entity/ColumnData.java
@@ -4,6 +4,7 @@
    private String columnName;
    private String columnMehtod;
    private String type;
    private String setColumnMehtodName;
    public ColumnData() {
@@ -13,6 +14,7 @@
        this.columnName = columnName;
        this.type = type;
        this.columnMehtod = "get" + (columnName.subSequence(0, 1) + "").toUpperCase() + columnName.subSequence(1, columnName.length()) + "()";
        this.setColumnMehtodName = "set" + (columnName.subSequence(0, 1) + "").toUpperCase() + columnName.subSequence(1, columnName.length());
    }
    public String getColumnName() {
@@ -39,4 +41,12 @@
    public void setType(String type) {
        this.type = type;
    }
    public String getSetColumnMehtodName() {
        return setColumnMehtodName;
    }
    public void setSetColumnMehtodName(String setColumnMehtodName) {
        this.setColumnMehtodName = setColumnMehtodName;
    }
}