package com.tykj.dev.device.user.base.ret;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author LJJ cnljj1995@gmail.com
 * on 2020-04-26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "用户分页对象", description = "用户分页对象")
@Builder
public class UserPage {

    @ApiModelProperty(value = "总数",example = "10")
    private Integer total;

    @ApiModelProperty(value = "页数，0开始",example = "0")
    private Integer page;

    @ApiModelProperty(value = "大小",example = "10")
    private Integer size;

    @ApiModelProperty(value = "数据内容",example = "略")
    private List<MemberThat> data;
}
