首页>代码>基于springboot2+mybatis+thymeleaf+layui整合开发的在线心理咨询管理系统>/YiXinLi-Project/src/main/java/com/pengzhen/yixinli/common/ServerLayResult.java
package com.pengzhen.yixinli.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;
    }

    @Override
    public String toString() {
        return "ServerLayResult{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", count=" + count +
                ", data=" + data +
                '}';
    }
}
最近下载更多
李二san  LV1 4月13日
WHY-small  LV15 2023年12月20日
wnnmmb  LV2 2023年10月18日
爱吃鱼的猫Vital  LV6 2023年7月28日
xiaobaitud  LV13 2023年7月10日
微信网友_6461019441418240  LV2 2023年5月6日
夜晚的星666  LV7 2023年5月5日
18836428501  LV1 2023年3月3日
小哼ovo  LV3 2023年3月1日
最近浏览更多
dddddk 1小时前
暂无贡献等级
李二san  LV1 4月13日
玖零定制问题修复  LV34 4月4日
yancivv 4月2日
暂无贡献等级
emo7he 3月31日
暂无贡献等级
1411273426 3月6日
暂无贡献等级
我睡觉时不困  LV7 2月22日
代码工程  LV3 1月19日
maxiaoru1 2023年12月29日
暂无贡献等级
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友