卡片管理

This commit is contained in:
sxu 2025-04-23 12:25:55 +08:00
parent 003cb3b943
commit 1bc3bcd67a
1 changed files with 28 additions and 0 deletions

View File

@ -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;
}
}