ASPointsViewModel.h 741 B

12345678910111213141516171819202122232425262728
  1. //
  2. // ASPointsViewModel.h
  3. // Asteria
  4. //
  5. // Created by iOS on 2023/12/2.
  6. //
  7. #import <Foundation/Foundation.h>
  8. #import "ASPointDetailModel.h"
  9. #import "ASExtraPointsModel.h"
  10. NS_ASSUME_NONNULL_BEGIN
  11. @interface ASPointsViewModel : NSObject
  12. @property (nonatomic, strong) NSMutableArray<ASExtraPointsModel *> *extraPathList;
  13. @property (nonatomic, strong) NSMutableArray<ASPointDetailModel *> *allList;
  14. @property (nonatomic, strong) NSMutableArray<ASPointDetailModel *> *usedList;
  15. - (void)getExtraList:(void(^)(BOOL hasNext, NSString *msg))com;
  16. - (void)getAllList:(NSInteger)page com:(void(^)(BOOL hasNext, NSString *msg))com;
  17. - (void)getUsedList:(NSInteger)page com:(void(^)(BOOL hasNext, NSString *msg))com;
  18. @end
  19. NS_ASSUME_NONNULL_END