class AbstractDynamoDao extends AbstractDao<M,P,K,I> {

    protected Results<M,K> scan(ScanSpec spec) {
        List<M> results = new ArrayList<>();
        for (Item item : getTable().scan(spec)) {
            results.add(modelMapper.toObject(item));
        }
        return Results.of(results);
    }

    public  AbstractDynamoDao(Class<M> modelClass, Class<P> partialClass, AmazonDynamoDB db, String tableName);
    public  AbstractDynamoDao(Class<M> modelClass, Class<P> partialClass, AmazonDynamoDB db, String tableName, ItemMapper<M> modelMapper, ItemMapper<P> partialMapper);

}