peter
2025-12-30 0c74d36f29e8279d9061d57466b3f488a4e1b89f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.nq.config;
 
public enum StockType {
    A("hs", "A股"),
    HK("hk", "港股");
    private String code;
    private String msg;
 
    StockType(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }
 
    public String getCode() {
        return this.code;
    }
 
    public String getMsg() {
        return this.msg;
    }
}