package org.yeshi.utils.generater.entity; public class ColumnData { private String columnName; private String columnMehtod; private String type; public ColumnData() { } public ColumnData(String columnName, String type) { this.columnName = columnName; this.type = type; 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; } public String getType() { return type; } public void setType(String type) { this.type = type; } }