package com.laker.admin.framework.model; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** * @author longli */ @ApiModel public class PageResponse extends Response { @ApiModelProperty(notes = "数量") private Long count; public PageResponse(String code, String msg, T data, Long count) { super(code, msg, data); this.count = count; } public static PageResponse ok(T data, Long count) { return new PageResponse<>("0", "", data, count); } public Long getCount() { return count; } public void setCount(Long count) { this.count = count; } }