Açıklama Yok

CommonEnum.h 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. //
  2. // CommonMacro.h
  3. // FirstLink
  4. //
  5. // Created by unicode on 14-9-30.
  6. // Copyright (c) 2014年 FirstLink. All rights reserved.
  7. //
  8. #ifndef FirstLink_CommonEnum_h
  9. typedef NS_ENUM(NSInteger, kOrderType) {
  10. kOrderTypeNoraml = 6,
  11. kOrderTypeProduct = 10,
  12. kOrderTypeGroup,
  13. kOrderTypeVIP,
  14. };
  15. typedef NS_ENUM(NSInteger, kUserLevel) {
  16. kUserLevelNone = 0,
  17. kUserLevelNoraml,
  18. kUserLevelVIP
  19. };
  20. typedef NS_ENUM(NSInteger, WeixinScene) {
  21. WeixinSceneFriend = 0,
  22. WeixinSceneCicle,
  23. WeixinSceneAll,
  24. };
  25. typedef NS_ENUM(NSInteger, ProductState) {
  26. ProductStateNormal,
  27. ProductStateOver,
  28. ProductStateSaleDone,
  29. };
  30. typedef NS_ENUM(NSInteger, VipState) {
  31. VipStateNormal,
  32. VipStateOverDue,
  33. VipStateNoApply
  34. };
  35. typedef NS_ENUM(NSInteger, GroupState) {
  36. GroupStateUnknow = -1,
  37. GroupStateWait = 0,
  38. GroupStateNormal,
  39. GroupStateSuccess,
  40. GroupStateEnd
  41. };
  42. typedef NS_ENUM(NSInteger, FKOrderPaymentSuccessController) {
  43. /**
  44. * 摇红包页面
  45. */
  46. FKOrderPaymentSuccessControllerRedpacket,
  47. /**
  48. * 参团详情页
  49. */
  50. FKOrderPaymentSuccessControllerGroupOrder,
  51. /**
  52. * 绑定身份信息
  53. */
  54. FKOrderPaymentSuccessControllerBindIDCard,
  55. };
  56. typedef NS_ENUM(NSInteger, ProductType) {
  57. ProductTypeDefault,
  58. // 第三方商品
  59. ProductTypeThird,
  60. // 会员商品
  61. ProductTypeVIP,
  62. };
  63. typedef NS_ENUM(NSInteger, FKPersonOrderClassify) {
  64. FKPersonOrderClassifyNonpayment,
  65. FKPersonOrderClassifyProgress,
  66. FKPersonOrderClassifyFinish,
  67. FKPersonOrderClassifyTotal,
  68. FKPersonOrderClassifySearchResult,
  69. FKPersonOrderClassifyUnkown,
  70. };
  71. typedef NS_ENUM(NSUInteger, FKShareType) {
  72. FKShareTypeNone = 0,
  73. FKShareTypeWeixin,
  74. FKShareTypeWeibo,
  75. FKShareTypeQQzone,
  76. };
  77. typedef NS_ENUM(NSUInteger, kSubmitChannelType) {
  78. kSubmitChannelTypeNone = 0,
  79. kSubmitChannelTypeAirDuty = 1,
  80. kSubmitChannelTypeAirNormal,
  81. kSubmitChannelTypeAirVIP,
  82. kSubmitChannelTypeBCNormal,
  83. kSubmitChannelTypeBCVIP,
  84. };
  85. typedef NS_ENUM(NSInteger, kCircleType) {
  86. kCircleTypeNone = 0,
  87. kCircleTypeUserShare, // 购物分享
  88. kCircleTypeInfoShare, // 购物资讯分享
  89. };
  90. #endif