ResultMode.java 884 Bytes
package com.subsidy.util;

public class ResultMode {

    /**
     * 成功:true,失败:false
     */
    private boolean success;

    /**
     * 返回编码
     */
    private int resultCode;

    /**
     * 返回消息
     */
    private String msg;

    /**
     * 结果数据
     */
    private Object data;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public int getResultCode() {
        return resultCode;
    }

    public void setResultCode(int resultCode) {
        this.resultCode = resultCode;
    }

    public String getMsg() {
        return msg;
    }

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

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}