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