当前位置: 移动技术网 > IT编程>开发语言>JavaScript > LayUI数据接口返回实体封装的例子

LayUI数据接口返回实体封装的例子

2019年09月15日  | 移动技术网IT编程  | 我要评论

我就废话不多说了,直接上代码吧!

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;
  }

}

以上这篇layui数据接口返回实体封装的例子就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持移动技术网。

如对本文有疑问, 点击进行留言回复!!

相关文章:

验证码:
移动技术网