package com.panzhihua.common.model.dtos.community.bigscreen;
|
|
import javax.validation.constraints.NotNull;
|
import javax.validation.constraints.Pattern;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
/**
|
* @ClasssName PageBigScreenStatisticPartyOrg
|
* @Description 党员党支部统计信息分页
|
* @Author cedoo
|
* @Date 2021/6/16
|
* @Version 1.0
|
**/
|
@Data
|
public class PageBigScreenStatisticPartyOrg {
|
@ApiModelProperty(value = "分页-当前页数,默认1", example = "1", required = true)
|
@NotNull
|
private Long pageNum = 1L;
|
|
@ApiModelProperty(value = "分页-每页记录数,默认50", example = "10", required = true)
|
@NotNull
|
private Long pageSize = 50L;
|
|
@ApiModelProperty(value = "排序字段, 默认id", hidden = true, example = "id")
|
private String sortBy = "id";
|
|
@ApiModelProperty(value = "排序方式: asc/desc(默认)", hidden = true, example = "desc")
|
@Pattern(regexp = "asc|desc|ASC|DESC")
|
private String order = "desc";
|
|
@ApiModelProperty(value = "社区id", hidden = true, example = "2")
|
// @NotNull(message = "社区id不能为空")
|
private Long communityId;
|
|
}
|