ERPAjaxResult.java 969 Bytes
package com.huaheng.api.erp.domain;

import org.apache.poi.ss.formula.functions.T;

import java.util.List;

public class ERPAjaxResult<T> {
    private boolean result;
    private String msg;
    private List<T> successMsg;
    private List<T> errorMsg;


//    {"result":false,"msg":"操作失败。","successMsg":[],"errorMsg":[{"fid":"751752","fbillno":"CGRK0322020013"}]}

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public String getMsg() {
        return msg;
    }

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

    public List<T> getSuccessMsg() {
        return successMsg;
    }

    public void setSuccessMsg(List<T> successMsg) {
        this.successMsg = successMsg;
    }

    public List<T> getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(List<T> errorMsg) {
        this.errorMsg = errorMsg;
    }
}