|
|
|
@ -2,7 +2,7 @@ package cn.estsh.i3plus.pojo.base.bean;
|
|
|
|
|
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.common.Pager;
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.enumutil.ResourceEnumUtil;
|
|
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
import java.util.Map;
|
|
|
|
@ -16,37 +16,37 @@ import java.util.Map;
|
|
|
|
|
**/
|
|
|
|
|
public class BaseResultBean<Obj> {
|
|
|
|
|
|
|
|
|
|
@ApiParam("是否成功")
|
|
|
|
|
@ApiModelProperty("是否成功")
|
|
|
|
|
public boolean success;
|
|
|
|
|
|
|
|
|
|
@ApiParam("信息代码-国际化")
|
|
|
|
|
@ApiModelProperty("信息代码-国际化")
|
|
|
|
|
public String code;
|
|
|
|
|
|
|
|
|
|
@ApiParam("操作消息")
|
|
|
|
|
@ApiModelProperty("操作消息")
|
|
|
|
|
public String msg;
|
|
|
|
|
|
|
|
|
|
@ApiParam("错误消息")
|
|
|
|
|
@ApiModelProperty("错误消息")
|
|
|
|
|
public String errorMsg;
|
|
|
|
|
|
|
|
|
|
@ApiParam("http路径")
|
|
|
|
|
@ApiModelProperty("http路径")
|
|
|
|
|
public String url;
|
|
|
|
|
|
|
|
|
|
@ApiParam("List结果集")
|
|
|
|
|
@ApiModelProperty("List结果集")
|
|
|
|
|
public List<Obj> resultList;
|
|
|
|
|
|
|
|
|
|
@ApiParam("单个结果")
|
|
|
|
|
@ApiModelProperty("单个结果")
|
|
|
|
|
public Obj resultObject;
|
|
|
|
|
|
|
|
|
|
@ApiParam("翻页和结果集")
|
|
|
|
|
@ApiModelProperty("翻页和结果集")
|
|
|
|
|
public ListPager<Obj> listPager;
|
|
|
|
|
|
|
|
|
|
@ApiParam("Map结果集")
|
|
|
|
|
@ApiModelProperty("Map结果集")
|
|
|
|
|
public Map<String, Object> resultMap;
|
|
|
|
|
|
|
|
|
|
@ApiParam("翻页操作")
|
|
|
|
|
@ApiModelProperty("翻页操作")
|
|
|
|
|
public Pager pager;
|
|
|
|
|
|
|
|
|
|
@ApiParam("总记录数")
|
|
|
|
|
@ApiModelProperty("总记录数")
|
|
|
|
|
public int totalCount;
|
|
|
|
|
|
|
|
|
|
public boolean isSuccess() {
|
|
|
|
|