ERPAjaxResult.java
969 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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;
}
}