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
| package com.ks.vip.pojo.Enums;
|
|
| /**
| * 支付方式
| */
| public enum PayWayEnum {
|
| alipay(1,"支付宝"),
| weChat(2,"微信");
|
| private final int way;
| private final String desc;
|
| private PayWayEnum(int way, String desc) {
| this.way = way;
| this.desc = desc;
| }
|
| public String getDesc() {
| return desc;
| }
|
| public int getWay() {
| return way;
| }
| }
|
|