package core.framework.impl.web.bean;

import java.util.Map;

/**
 * @author neo
 */
public interface QueryParamBeanMapper<T> {
    Map<String, String> toParams(T bean);

    T fromParams(Map<String, String> params);
}

package core.framework.impl.web.bean;

import java.util.Map;

/**
 * @author neo
 */
interface QueryParamBeanMapper<T> {
    Map<String, String> toParams(T bean);

    T fromParams(Map<String, String> params);
}

reduce scope of query param bean mapper interface