Geen omschrijving

FKMyVipViewModel.h 747B

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // FKMyVipViewModel.h
  3. // FirstLink
  4. //
  5. // Created by jack on 15/9/14.
  6. // Copyright (c) 2015年 FirstLink. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "FKVipInfoItem.h"
  10. #import "FKVipBuyRuleItem.h"
  11. typedef NS_ENUM(NSInteger, kCardSegmentType) {
  12. kCardSegmentTypeVip,
  13. kCardSegmentTypeSuperVip,
  14. };
  15. @interface FKMyVipViewModel : NSObject
  16. @property (nonatomic, strong) FKVipInfoItem *infoItem;
  17. @property (nonatomic, strong) NSArray<FKVipBuyRuleItem *> *ruleItemArray;
  18. @property (nonatomic, assign) kCardSegmentType segmentType;
  19. - (FKVipBuyRuleItem *)itemAtIndexPath:(NSIndexPath *)indexPath;
  20. - (UIImage *)imageAtIndex:(NSInteger)index;
  21. - (NSAttributedString *)attributedTitleAtIndex:(NSInteger)index;
  22. @end