doum
6 天以前 2b287056e2f59518888d05a1bbc7e5a55fbd84d5
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
package com.doumee.keyCabinet.http.param;
 
import java.io.Serializable;
import java.util.List;
 
/**
 * 服务端完成后,返回给客户端的基本类
 * 
 * @author j
 * 
 */
//"响应")
public class BaseResponse<T> implements Serializable {
    // 错误码
    //错误码")
    protected String errorCode;
 
 
    // 错误描述
    //"错误描述")
    protected String errorMsg;
 
    public String getErrorCode() {
        return errorCode;
    }
 
    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }
 
    public String getErrorMsg() {
        return errorMsg;
    }
 
    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }
 
    private T record;
 
    private List<T> recordList;
    private Integer totalCount;
 
 
    public T getRecord() {
        return record;
    }
 
    public void setRecord(T record) {
        this.record = record;
    }
 
    public List<T> getRecordList() {
        return recordList;
    }
 
    public void setRecordList(List<T> recordList) {
        this.recordList = recordList;
    }
 
    public Integer getTotalCount() {
        return totalCount;
    }
 
    public void setTotalCount(Integer totalCount) {
        this.totalCount = totalCount;
    }
}