Model not an object in getColumnType