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

import com.tykj.dev.device.user.subject.entity.Area;
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 zjm
 * @version 1.0.0
 * @ClassName RolePage.java
 * @Description TODO
 * @createTime 2020年08月12日 10:18:00
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "地区分页对象", description = "角色分页对象")
@Builder
public class AreaPage {
    @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<Area> data;
}
