AjaxResult

package com.sprucetec.tms.utils;

/**
* AjaxReturn
*
* @author Yinqiang Du
* @date 2016/7/12
*/
import java.io.Serializable;

public class AjaxResult<T> implements Serializable {

/**
*
*/
private static final long serialVersionUID = -883388648899116220L;
/**
* 失败0成功1
*/
private int ret;
/**
* 返回数据体
*/
private T retData;
/**
* 返回错误消息
*/
private String message;

public int getRet() {
return ret;
}

public void setRet(int ret) {
this.ret = ret;
}

public T getRetData() {
return retData;
}

public void setRetData(T retData) {
this.retData = retData;
}

public String getMessage() {
return message;
}

public void setMessage(String message) {
this.message = message;
}



}
posted @ 2017-05-26 17:59  雄狮_杜  阅读(3819)  评论(1编辑  收藏  举报