![JAR search and dependency download from the Maven repository](/logo.png)
cicada.core.Ret Maven / Gradle / Ivy
/**
*
*/
package cicada.core;
/**
* @author user
*/
public class Ret
{
private int status = 0;
private String message;
private T Data;
/**
* @return the status
* 默认值0:代表失败
* 1:代表成功
*/
public int getStatus()
{
return status;
}
/**
* @param status
* the status to set
*/
public void setStatus(int status)
{
this.status = status;
}
/**
* @return the message
*/
public String getMessage()
{
return message;
}
/**
* @param message
* the message to set
*/
public void setMessage(String message)
{
this.message = message;
}
/**
* @return the data
*/
public T getData()
{
return Data;
}
/**
* @param data
* the data to set
*/
public void setData(T data)
{
Data = data;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy