首页>代码>基于SpringBoot框架开发的简单商城后台管理系统>/myshop/src/main/java/com/jacklin/myshop/common/ServerLayResult.java
package com.jacklin.myshop.common;

/**
 * Layui表格封装json格式数据工具类
 */
public class ServerLayResult<T> {
    private int code;
    private String msg;
    private long count;
    private  T data;

    public ServerLayResult() {
    }

    public ServerLayResult(int code, String msg, long count, T data) {
        this.code = code;
        this.msg = msg;
        this.count = count;
        this.data = data;
    }

    public int getCode() {
        return code;
    }

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

    public String getMsg() {
        return msg;
    }

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

    public long getCount() {
        return count;
    }

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

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
最近下载更多
Luck_ZDM  LV11 4月12日
jay1992  LV14 3月11日
nvcore  LV1 2月1日
gecongkai  LV8 2023年12月21日
ysugxx  LV9 2023年12月2日
Tomcat80  LV4 2023年10月13日
墨上墨上墨上  LV1 2023年9月18日
barry2008  LV34 2023年8月29日
WHY-small  LV15 2023年8月5日
lipiao161  LV16 2023年7月4日
最近浏览更多
刘守曜 前天
暂无贡献等级
1134116035 4月22日
暂无贡献等级
kwon6666 4月19日
暂无贡献等级
akittyboy  LV9 4月16日
yhe107  LV3 4月16日
Luck_ZDM  LV11 4月12日
zhanghao943  LV2 4月12日
RZX031513  LV1 4月10日
luo17017 3月25日
暂无贡献等级
qq549888060  LV8 3月24日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友