
com.nxyfan.framework.common.page.CommonPageParam Maven / Gradle / Ivy
package com.nxyfan.framework.common.page;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
/**
*
* Describe: 通用分页基础字段实体
* Author: amour
* Create Time: 2022年10月30日 下午5:33:58
* Copyright @ 2022 51LIFE
*/
@Getter
@Setter
public class CommonPageParam {
/** 当前页 */
@ApiModelProperty(value = "当前页码", position = 101)
private Integer pageNum = 1;
/** 每页条数 */
@ApiModelProperty(value = "每页条数", position = 102)
private Integer pageSize = 20;
/** 开始时间 */
@ApiModelProperty(value = "开始时间,格式:yyyy-MM-dd/yyyy-MM-dd HH:mm:ss,每个接口可能不同", position = 103)
private String startTime;
/** 结束时间 */
@ApiModelProperty(value = "结束时间,格式:yyyy-MM-dd/yyyy-MM-dd HH:mm:ss,每个接口可能不同", position = 104)
private String endTime;
/** 启用与停用状态 */
@ApiModelProperty(value = "启用标识,Y:启用;N:停用", position = 105)
private String useMark;
/** 排序字段 */
@ApiModelProperty(value = "排序字段,字段驼峰名称,如:userName", position = 106)
private String sortField;
/** 排序方式 */
@ApiModelProperty(value = "排序方式,升序:ASCEND;降序:DESCEND", position = 107)
private String sortOrder;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy