whycrzg
2021-02-19 656bd1b190ed296a7bf63623dc8e9fe2bc9d3098
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
package com.fgkj.dto;
 
import java.io.Serializable;
 
public class ServiceModelOnce implements Serializable{
    public Integer code=0;        //用于判断请求是否成功        0:不成功        1:成功
    private Integer sum;
    private Integer newsum;
    public String msg;            //返回的简单信息
    public Object data;            //用于返回复杂数据
 
    public Integer getSum() {
        return sum;
    }
 
    public void setSum(Integer sum) {
        this.sum = sum;
    }
 
    public Integer getNewsum() {
        return newsum;
    }
 
    public void setNewsum(Integer newsum) {
        this.newsum = newsum;
    }
 
    public ServiceModelOnce set(Integer code, Object data){
        this.code =code;
        this.data = data;
        return this;
    }
    
    public Integer getCode() {
        return code;
    }
    public void setCode(Integer code) {
        this.code = code;
    }
    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;
    }
 
}