SPSBEnumerationProfile.h 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. //
  2. // SPSBEnumerationProfile.h
  3. // 我的社保
  4. //
  5. // Created by shanp on 2021/4/19.
  6. //
  7. #import <UIKit/UIKit.h>
  8. #pragma mark - App
  9. typedef NS_ENUM(NSUInteger, SPSBNetworkStatus) {
  10. SPSBNetworkStatusDefualt = 0,
  11. SPSBNetworkStatusNo,
  12. SPSBNetworkStatusWIFI,
  13. SPSBNetworkStatusMobile,
  14. };
  15. typedef NS_ENUM(NSUInteger, SPSBNetworkDataDefault) {
  16. SPSBNetworkDataDefaultMissNetwork = 1,
  17. SPSBNetworkDataDefaultMissData,
  18. SPSBNetworkDataDefaultNoData
  19. };
  20. typedef NS_ENUM(NSUInteger, SPSBTabBarType) {
  21. SPSBTabBarTypeHome = 1,
  22. SPSBTabBarTypeQuery,
  23. SPSBTabBarTypeConsultation,
  24. SPSBTabBarTypeMine,
  25. };
  26. typedef NS_ENUM(NSInteger, SPSBPurchasersListType) {
  27. SPSBPurchasersListTypeManage,
  28. SPSBPurchasersListTypePurchase,
  29. SPSBPurchasersListTypeQuickPurchase,
  30. SPSBPurchasersListTypeQuery
  31. };
  32. #pragma mark - Open AD
  33. typedef NS_ENUM(NSUInteger, SPSBOpenAdSwitchStatus) {
  34. SPSBOpenAdSwitchStatusOff,
  35. SPSBOpenAdSwitchStatusOn,
  36. SPSBOpenAdSwitchStatusUnknow,
  37. SPSBOpenAdSwitchStatusForbid
  38. };
  39. #pragma mark - User
  40. typedef NS_ENUM(NSUInteger, SPSBLoggingStatus) {
  41. SPSBLoggingStatusLogin = 1,
  42. SPSBLoggingStatusLogout = 0
  43. };
  44. #pragma mark - 社保公积金相关
  45. typedef NS_ENUM(NSUInteger, SPSBPurchaseFundWay) {
  46. SPSBPurchaseFundWaySum = 3,
  47. SPSBPurchaseFundWayBase = 2
  48. };
  49. typedef NS_ENUM(NSUInteger, SPSBPurchaseType) {
  50. SPSBPurchaseSocialInsurance,
  51. SPSBPurchaseAccumulationFund,
  52. SPSBPurchaseSocialInsurancePackage,
  53. SPSBPurchaseAccumulationFundPackage
  54. };
  55. typedef NS_ENUM (NSUInteger, SPSBPurchaseBusinessType) {
  56. SPSBSocialInsurancePurchase,
  57. SPSBAccumulationFundPurchase,
  58. };
  59. typedef NS_ENUM(NSUInteger, SPSBTransferBusinessType) {
  60. SPSBSocialInsuranceTransfer,
  61. SPSBAccumulationFundTransfer
  62. };
  63. typedef NS_ENUM(NSUInteger, SPSBResultServeyType) {
  64. SPSBResultServeyTypeSB,
  65. SPSBResultServeyTypeAF,
  66. SPSBResultServeyTypePack,
  67. SPSBResultServeyTypeNo
  68. };
  69. #pragma mark - 订单相关
  70. typedef NS_ENUM(NSUInteger, SPSBOrderFrom) {
  71. SPSBOrderFromNormal = 1,
  72. SPSBOrderFromWaitForPay,
  73. SPSBOrderFromQuickPurchase
  74. };
  75. typedef NS_ENUM(NSUInteger, SPSBOrderType) {
  76. SPSBOrderTypePurchase = 1,
  77. SPSBOrderTypePurchaseWithSSCard,
  78. SPSBOrderTypeOrderBalance,
  79. SPSBOrderTypeTransfer,
  80. SPSBOrderTypeSalary
  81. };
  82. #pragma mark - 支付
  83. typedef NS_ENUM(NSUInteger, SPSBPayType) {
  84. SPSBPayTypeWechet,
  85. SPSBPayTypeAlipay
  86. };