com.jeesuite.mybatis.crud.helper.ColumnMapper Maven / Gradle / Ivy
package com.jeesuite.mybatis.crud.helper;
import org.apache.ibatis.type.JdbcType;
import org.apache.ibatis.type.TypeHandler;
public class ColumnMapper {
private String property;
private String column;
private Class> javaType;
private JdbcType jdbcType;
private Class extends TypeHandler>> typeHandler;
private boolean id = false;
private boolean insertable = true;
private boolean updatable = true;
public String getProperty() {
return property;
}
public void setProperty(String property) {
this.property = property;
}
public String getColumn() {
return column;
}
public void setColumn(String column) {
this.column = column;
}
public Class> getJavaType() {
return javaType;
}
public void setJavaType(Class> javaType) {
this.javaType = javaType;
}
public boolean isId() {
return id;
}
public void setId(boolean id) {
this.id = id;
}
public boolean isInsertable() {
return insertable;
}
public void setInsertable(boolean insertable) {
this.insertable = insertable;
}
public boolean isUpdatable() {
return updatable;
}
public void setUpdatable(boolean updatable) {
this.updatable = updatable;
}
public JdbcType getJdbcType() {
return jdbcType;
}
public void setJdbcType(JdbcType jdbcType) {
this.jdbcType = jdbcType;
}
public Class extends TypeHandler>> getTypeHandler() {
return typeHandler;
}
public void setTypeHandler(Class extends TypeHandler>> typeHandler) {
this.typeHandler = typeHandler;
}
}