LayUI数据接口返回实体封装

LayUI数据接口返回实体封装

package cn.haitu.vo;
/** * * @date 2017年12月28日  @author Weilong Liu */
public class LayUIDataTableVo {

    protected Integer code;

    protected String msg;

    protected Long count;

    protected Object data;

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public LayUIDataTableVo(){}

    public LayUIDataTableVo(Integer code, String msg, Long total, Object data) {
        super();
        this.code = code;
        this.msg = msg;
        this.count = count;
        this.data = data;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }



    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

}

你可能感兴趣的:(工具)