123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- //
- // XYPersonalCenterViewModel.h
- // Starbuds
- //
- // Created by 翟玉磊 on 2019/12/21.
- // Copyright © 2019 翟玉磊. All rights reserved.
- //
- #import "BaseTableViewModel.h"
- NS_ASSUME_NONNULL_BEGIN
- @class XYWishGiftModel;
- @interface XYPersonalCenterViewModel : BaseTableViewModel
- /// 粉丝数量
- @property (nonatomic, readwrite, assign) NSInteger fansCount;
- /// 关注数量
- @property (nonatomic, readwrite, assign) NSInteger followCount;
- /// 魅力值数量
- @property (nonatomic, readwrite, copy) NSString *charmValue;
- /// 星耀值
- @property (nonatomic, copy) NSString *starValue;
- /// 富豪数量
- @property (nonatomic, readwrite, copy) NSString *wealthValue;
- /// 免费时间
- @property (nonatomic, readwrite, assign) NSInteger minutes;
- /// 当前的登录用户
- @property (nonatomic, readwrite, strong) XYUserInfoModel *nowUser;
- /// 心愿信息 nil则表示没有设置心愿
- @property (nonatomic, strong) XYWishGiftModel *wishModel;
- /// 足数量
- @property (nonatomic, readwrite, assign) NSInteger visitCount;
- /// 访客数量
- @property (nonatomic, readwrite, assign) NSInteger intervieweeCount;
- /// isUserInfo 是否只更新用户信息
- - (void)loadDataWithUserInfo:(BOOL)isUserInfo success:(SuccessHandler)success failure:(FailureHandler)failure;
- + (CGFloat)getNormalItemsHeightWithItems:(NSArray *)items;
- @end
- NS_ASSUME_NONNULL_END
|