All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xyz.proteanbear.capricorn.infrastructure.ResponseDefault Maven / Gradle / Ivy

Go to download

Capricorn综合应用技术服务平台:基础通用模块项目,包括项目使用的基础库等内容。

The newest version!
package xyz.proteanbear.capricorn.infrastructure;

/**
 * 

基础层:返回数据结构默认

* * @author 马强 */ public class ResponseDefault { /** * Status code */ private String status; /** * return message */ private String message; /** * data content */ private Object data; /** * Constructor * * @param status status code * @param message return message * @param data data content */ public ResponseDefault(String status,String message,Object data) { this.status=status; this.message=message; this.data=data; } /** * constructor */ public ResponseDefault() { } /** * @return status code */ public String getStatus() { return status; } /** * @param status status code */ public void setStatus(String status) { this.status=status; } /** * @return return message */ public String getMessage() { return message; } /** * @param message return message */ public void setMessage(String message) { this.message=message; } /** * @return data content */ public Object getData() { return data; } /** * @param data data content */ public void setData(Object data) { this.data=data; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy