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

com.mizhousoft.bytedance.miniapp.model.BdGenericResponse Maven / Gradle / Ivy

There is a newer version: 2.1.0
Show newest version
package com.mizhousoft.bytedance.miniapp.model;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 通用响应
 *
 * @version
 */
public class BdGenericResponse
{
	// 状态码
	@JsonProperty("err_no")
	private int statusCode;

	// 信息
	@JsonProperty("err_tips")
	private String message;

	@JsonProperty("data")
	private T data;

	/**
	 * 获取statusCode
	 * 
	 * @return
	 */
	public int getStatusCode()
	{
		return statusCode;
	}

	/**
	 * 设置statusCode
	 * 
	 * @param statusCode
	 */
	public void setStatusCode(int statusCode)
	{
		this.statusCode = statusCode;
	}

	/**
	 * 获取message
	 * 
	 * @return
	 */
	public String getMessage()
	{
		return message;
	}

	/**
	 * 设置message
	 * 
	 * @param message
	 */
	public void setMessage(String message)
	{
		this.message = message;
	}

	/**
	 * 获取data
	 * 
	 * @return
	 */
	public T getData()
	{
		return data;
	}

	/**
	 * 设置data
	 * 
	 * @param data
	 */
	public void setData(T data)
	{
		this.data = data;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy