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

templates.common.PageParam.ftl Maven / Gradle / Ivy

There is a newer version: 2.0.4
Show newest version
package ${packageName}.common.page;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import ${packageName}.common.constants.Constants;

/**
 * 分页公共请求对象
 */
@Data
public class PageParam {

    @Schema(description = "页码", example = Constants.DEFAULT_PAGE + "")
    private int page = Constants.DEFAULT_PAGE;

    @Schema(description = "每页数量", example = Constants.DEFAULT_LIMIT + "")
    private int limit = Constants.DEFAULT_LIMIT;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy