| | |
| | | */ |
| | | public class Constants { |
| | | |
| | | public static final String AZURE_BLOB ="AZURE_BLOB" ; |
| | | public static final String AZURE_BLOB_ACCESSNAME ="AZURE_BLOB_ACCESSNAME" ; |
| | | public static final String AZURE_BLOB_ACCESSKEY ="AZURE_BLOB_ACCESSKEY" ; |
| | | public static final String AZURE_BLOB_ENDPOINT ="AZURE_BLOB_ENDPOINT" ; |
| | | public static final String AZURE_BLOB_CONTAINER ="AZURE_BLOB_CONTAINER" ; |
| | | public static final String HWY_OBS ="HWY_OBS" ; |
| | | public static final String HWY_OBS_ACCESSID ="HWY_OBS_ACCESSID" ; |
| | | public static final String HWY_OBS_ACCESSKEY ="HWY_OBS_ACCESSKEY" ; |
| | | public static final String HWY_OBS_ENDPOINT ="HWY_OBS_ENDPOINT" ; |
| | | public static final String HWY_OBS_BUCKET ="HWY_OBS_BUCKET" ; |
| | | public static final String FTP ="FTP" ; |
| | | public static final String FTP_HOST ="FTP_HOST" ; |
| | | public static final String FTP_PORT ="FTP_PORT" ; |
| | |
| | | this.noticeContent = noticeContent; |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 用户收支业务类型 |
| | | * 变动类型:0=用工单收入;1=货运单收入;2=供餐单收入;3=提现申请; |
| | | */ |
| | | @Getter |
| | | public enum RevenueType { |
| | | |
| | | YGD_INCOME( 0, "用工单收入","用工单收入" ,0), |
| | | HYD_INCOME( 1, "货运单收入","货运单收入" ,0), |
| | | GCD_INCOME(2, "供餐单收入","供餐单收入" ,0), |
| | | WITHDRAW_APPLY(3, "提现申请","提现申请" ,0), |
| | | REFUND( 4, "提现申请退回","提现申请退回" ,0) |
| | | ; |
| | | |
| | | private int key; |
| | | private String name; |
| | | private String info; |
| | | private int navIndex; |
| | | |
| | | RevenueType(int key, String name, String info,int navIndex) { |
| | | this.info = info; |
| | | this.key = key; |
| | | this.name = name; |
| | | this.navIndex = navIndex; |
| | | } |
| | | public static RevenueType getObj(int index) { |
| | | for (RevenueType c : RevenueType.values()) { |
| | | if (c.getKey() == index) { |
| | | return c; |
| | | } |
| | | } |
| | | return null; |
| | | } |
| | | public static String getObjName(int index) { |
| | | for (RevenueType c : RevenueType.values()) { |
| | | if (c.getKey() == index) { |
| | | return c.getName(); |
| | | } |
| | | } |
| | | return null; |
| | | } |
| | | |
| | | |
| | | } |
| | | } |