卡片管理
This commit is contained in:
parent
003cb3b943
commit
1bc3bcd67a
|
|
@ -0,0 +1,28 @@
|
||||||
|
package com.bonus.canteen.core.account.constants;
|
||||||
|
|
||||||
|
import java.util.Arrays;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
public enum CardStatusEnum {
|
||||||
|
NORMAL(1, "正常"),
|
||||||
|
LOSS(4, "挂失"),
|
||||||
|
APPLY(5, "发卡"),
|
||||||
|
REFUND(6, "退卡"),
|
||||||
|
EXPIRED(7, "已过期");
|
||||||
|
|
||||||
|
private final Integer key;
|
||||||
|
private final String desc;
|
||||||
|
|
||||||
|
private CardStatusEnum(Integer key, String desc) {
|
||||||
|
this.key = key;
|
||||||
|
this.desc = desc;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getKey() {
|
||||||
|
return this.key;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDesc() {
|
||||||
|
return this.desc;
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue