All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.haoxuer.discover.user.rest.conver.PageableConver Maven / Gradle / Ivy

There is a newer version: 3.3.18-20230117
Show newest version
package com.haoxuer.discover.user.rest.conver;

import com.haoxuer.discover.data.page.Pageable;
import com.haoxuer.discover.data.rest.core.Conver;
import com.haoxuer.discover.rest.base.RequestUserTokenPageObject;

public class PageableConver implements Conver {
    @Override
    public Pageable conver(RequestUserTokenPageObject source) {
        Pageable result = new Pageable();
        result.setPageNo(source.getNo());
        result.setPageSize(source.getSize());
        return result;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy