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

exchange.apexpro.connector.model.ResponseResult Maven / Gradle / Ivy

There is a newer version: 2.0.2
Show newest version
package exchange.apexpro.connector.model;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * @author : wangwanlu
 * @since : 2020/3/25, Wed
 **/
public class ResponseResult {

    private int code;

    private String msg;

    public ResponseResult() {
    }

    public ResponseResult(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.DEFAULT_STYLE).append("code", code)
                .append("msg", msg).toString();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy