code: public static String getClassNameFromTableModel(TableModel model) {
  		DialectException.assureNotNull(model, "TableModel can not be null");
  		String className;
  		if (model.getEntityClass() != null)
  			className = model.getEntityClass().getSimpleName();
  		else {
  			DialectException.assureNotEmpty(model.getTableName(), "TableName can not be empty in TableModel");
  			className = StrUtils.toUpperCaseFirstOne(transColumnNameToFieldName(model.getTableName()));
  		}
  		DialectException.assureNotEmpty(className, "TableName can not be empty in TableModel");
  		return className;
  	}
docs: Map database table name to entity class name, example: <br/>
  user_name -> UserName <br/>
  USER_NAME -> UserName <br/>
  User_naMe -> UserName <br/>
  UserName -> UserName <br/>
  USERNAME -> USERNAME <br/>
  userName -> UserName <br/>
  username -> Username <br/>