Enum Class AccountType
- All Implemented Interfaces:
Serializable, Comparable<AccountType>, Constable
AccountType,预留99种系统账户
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription玫瑰币基础账户 现金基础账户 系统佣金账户 系统分红账户 用户1.100. -
Method Summary
Modifier and TypeMethodDescriptionstatic AccountTypeindexToEnum(Integer index) 根据索引获取枚举static AccountTypeReturns the enum constant of this class with the specified name.static AccountType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SYS_RECHARGE
1. 系统充值账户,虚拟币来源 2. 系统活动奖励账户,虚拟币来源 3. 系统临时过期账户,接收过期 4. 系统使用账户,接收使用 -
SYS_REWARD
-
SYS_EXPIRE
-
SYS_USE
-
USER_FOREVER
100. 永久账户,充值+推荐进永久 101. 临时账户,其他进临时 102. 用户冻结账户 -
USER_TEMPORARY
-
USER_FREEZE
-
COIN_BASIC
玫瑰币基础账户 现金基础账户 系统佣金账户 系统分红账户 用户 -
CASH_BASIC
-
SYS_COMMISSION
-
SYS_DIVIDEND
-
USER
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
indexToEnum
-