summaryrefslogtreecommitdiff
path: root/src/main/java/com/geedge/common/Code.java
blob: 6b49a0925394bdbff3b47b0cecc60180e5c78ff3 (plain)
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
package com.geedge.common;


public enum Code {

    SUCCESS(200, "success"),
    ERROR(999, "error");





    private Integer code;
    public Integer getCode() {
        return code;
    }

    private String msg;
    public String getMsg() {
        return msg;
    }


    private Code(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}