org.fingertip.simpledao.bean.ModelClassMessage Maven / Gradle / Ivy
The newest version!
package org.fingertip.simpledao.bean;
import java.lang.reflect.Field;
import java.util.Map;
/**
* model类信息
* @author W.C.H
*
*/
public class ModelClassMessage {
/**
* 字段名集合
* key:数据库字段名 value:实体字段名
*/
private Map dbEntityFieldNames;
/**
* 字段名集合
* key:实体字段名 value:数据库字段名
*/
private Map entityDbFieldNames;
/**
* 字段对象集合
* key:数据库字段名 value:field对象
*/
private Map dbFields;
/**
* 字段对象集合
* key:实体字段名 value:field对象
*/
private Map entityFields;
/**
* 表名
*/
private String tableName;
/**
* 主键名
*/
private String idName;
public Map getDbEntityFieldNames() {
return dbEntityFieldNames;
}
public void setDbEntityFieldNames(Map dbEntityFieldNames) {
this.dbEntityFieldNames = dbEntityFieldNames;
}
public Map getEntityDbFieldNames() {
return entityDbFieldNames;
}
public void setEntityDbFieldNames(Map entityDbFieldNames) {
this.entityDbFieldNames = entityDbFieldNames;
}
public Map getDbFields() {
return dbFields;
}
public void setDbFields(Map dbFields) {
this.dbFields = dbFields;
}
public Map getEntityFields() {
return entityFields;
}
public void setEntityFields(Map entityFields) {
this.entityFields = entityFields;
}
public String getTableName() {
return tableName;
}
public void setTableName(String tableName) {
this.tableName = tableName;
}
public String getIdName() {
return idName;
}
public void setIdName(String idName) {
this.idName = idName;
}
}