xiaoyong931011
2022-05-31 a69b31c6d942b816e1e48e9dc017a6f52bd23ae4
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
package com.xcong.farmer.cms.netty.bean;
 
import java.io.Serializable;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
 
 
public class ResponseBean implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    public static final String SUCCESS = "200";
 
    private String status;
 
    private String type;
 
    private String info;
 
    private String channelId;
 
    private Map<Object, Object> mapInfo = new HashMap<>();
 
    private List<?> row;
 
    public static ResponseBean ok(String type, String info) {
        ResponseBean responseBean = new ResponseBean();
        responseBean.status = SUCCESS;
        responseBean.type = type;
        responseBean.info = info;
        return responseBean;
    }
 
    public String getStatus() {
        return status;
    }
 
    public void setStatus(String status) {
        this.status = status;
    }
 
    public String getType() {
        return type;
    }
 
    public void setType(String type) {
        this.type = type;
    }
 
    public String getInfo() {
        return info;
    }
 
    public void setInfo(String info) {
        this.info = info;
    }
 
    public String getChannelId() {
        return channelId;
    }
 
    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }
 
    public Map<Object, Object> getMapInfo() {
        return mapInfo;
    }
 
    public void setMapInfo(Map<Object, Object> mapInfo) {
        this.mapInfo = mapInfo;
    }
 
    public void putInfo(Object key, Object value) {
        this.mapInfo.put(key, value);
    }
 
    public List<?> getRow() {
        return row;
    }
 
    public void setRow(List<?> row) {
        this.row = row;
    }
}