cn.easyutil.project.base.bean.ResponseBody Maven / Gradle / Ivy
package cn.easyutil.project.base.bean;
/** 返回包装体 */
public class ResponseBody extends BaseBean {
private static final long serialVersionUID = -3737273273482108084L;
/** 统一返回状态0:失败,1:正确 */
private Integer code;
/** 内容体 */
public Object data = new Object();
/** 分页信息 */
private Page page;
/** 异常码 */
private Integer errCode;
/** 异常信息 */
private String errMsg;
/** 异常信息原样说明*/
private String errMsgDesc;
public Integer getCode() {
return code;
}
public void setCode(Integer code) {
this.code = code;
}
public Object getData() {
return data;
}
public void setData(Object data) {
this.data = data;
}
public Page getPage() {
return page;
}
public void setPage(Page page) {
this.page = page;
}
public Integer getErrCode() {
return errCode;
}
public void setErrCode(Integer errCode) {
this.errCode = errCode;
}
public String getErrMsg() {
return errMsg;
}
public void setErrMsg(String errMsg) {
this.errMsg = errMsg;
}
public String getErrMsgDesc() {
return errMsgDesc;
}
public void setErrMsgDesc(String errMsgDesc) {
this.errMsgDesc = errMsgDesc;
}
}