| | |
| | | @Getter |
| | | public enum RevenueType { |
| | | |
| | | YGD_INCOME( 0, "用工单收入","用工单收入" ,0), |
| | | HYD_INCOME( 1, "货运单收入","货运单收入" ,0), |
| | | GCD_INCOME(2, "供餐单收入","供餐单收入" ,0), |
| | | YGD_INCOME( 0, "用工单收入","用工单" ,0), |
| | | HYD_INCOME( 1, "货运单收入","货运单" ,0), |
| | | GCD_INCOME(2, "供餐单收入","供餐单" ,0), |
| | | WITHDRAW_APPLY(3, "提现申请","提现申请" ,0), |
| | | REFUND( 4, "提现申请退回","提现申请退回" ,0) |
| | | ; |
| | |
| | | } |
| | | return null; |
| | | } |
| | | public static String getName(int index) { |
| | | for (RevenueType c : RevenueType.values()) { |
| | | if (c.getKey() == index) { |
| | | return c.getName(); |
| | | } |
| | | } |
| | | return null; |
| | | } |
| | | public static String getInfo(int index) { |
| | | for (RevenueType c : RevenueType.values()) { |
| | | if (c.getKey() == index) { |
| | | return c.getInfo(); |
| | | } |
| | | } |
| | | return null; |
| | | } |
| | | public static String getObjName(int index) { |
| | | for (RevenueType c : RevenueType.values()) { |
| | | if (c.getKey() == index) { |