XYPersonalCenterViewModel.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. //
  2. // XYPersonalCenterViewModel.h
  3. // Starbuds
  4. //
  5. // Created by 翟玉磊 on 2019/12/21.
  6. // Copyright © 2019 翟玉磊. All rights reserved.
  7. //
  8. #import "BaseTableViewModel.h"
  9. NS_ASSUME_NONNULL_BEGIN
  10. @class XYWishGiftModel;
  11. @interface XYPersonalCenterViewModel : BaseTableViewModel
  12. /// 粉丝数量
  13. @property (nonatomic, readwrite, assign) NSInteger fansCount;
  14. /// 关注数量
  15. @property (nonatomic, readwrite, assign) NSInteger followCount;
  16. /// 魅力值数量
  17. @property (nonatomic, readwrite, copy) NSString *charmValue;
  18. /// 星耀值
  19. @property (nonatomic, copy) NSString *starValue;
  20. /// 富豪数量
  21. @property (nonatomic, readwrite, copy) NSString *wealthValue;
  22. /// 免费时间
  23. @property (nonatomic, readwrite, assign) NSInteger minutes;
  24. /// 当前的登录用户
  25. @property (nonatomic, readwrite, strong) XYUserInfoModel *nowUser;
  26. /// 心愿信息 nil则表示没有设置心愿
  27. @property (nonatomic, strong) XYWishGiftModel *wishModel;
  28. /// 足数量
  29. @property (nonatomic, readwrite, assign) NSInteger visitCount;
  30. /// 访客数量
  31. @property (nonatomic, readwrite, assign) NSInteger intervieweeCount;
  32. /// isUserInfo 是否只更新用户信息
  33. - (void)loadDataWithUserInfo:(BOOL)isUserInfo success:(SuccessHandler)success failure:(FailureHandler)failure;
  34. + (CGFloat)getNormalItemsHeightWithItems:(NSArray *)items;
  35. @end
  36. NS_ASSUME_NONNULL_END