Files
peko-ios/YuMi/Structure/MVP/Model/UserInfoModel.h

171 lines
7.1 KiB
C
Raw Normal View History

2023-07-06 16:54:13 +08:00
//
2023-07-14 18:50:55 +08:00
// UserInfoModel.h
2023-08-10 16:25:34 +08:00
// xplan-ios
2023-07-06 16:54:13 +08:00
//
// Created by zu on 2021/9/14.
//
#import "NSObject+MJExtension.h"
2023-07-14 18:50:55 +08:00
#import "UserExpand.h"
#import "UserLevelVo.h"
#import "UserInfoSkillVo.h"
#import "UserVipInfoVo.h"
#import "UserPhoto.h"
#import "UserGiftWallInfoModel.h"
2024-07-17 17:49:33 +08:00
#import "MomentsInfoModel.h"
2023-08-10 16:25:34 +08:00
#import "XPSoundCardModel.h"
2024-06-25 15:08:14 +08:00
#import "MedalModel.h"
2024-09-19 16:52:32 +08:00
#import "RelationUserVO.h"
2023-07-06 16:54:13 +08:00
NS_ASSUME_NONNULL_BEGIN
2023-11-15 17:25:09 +08:00
@interface UserInfoModel : PIBaseModel
2023-07-06 16:54:13 +08:00
@property (nonatomic , assign) NSInteger bindType;
@property (nonatomic , assign) NSInteger createTime;
@property (nonatomic , assign) BOOL parentMode;
@property (nonatomic , assign) BOOL isBindPhone;
2023-07-14 18:50:55 +08:00
@property (nonatomic , strong) UserExpand * userExpand;
2023-07-06 16:54:13 +08:00
@property (nonatomic , assign) NSInteger erbanNo;
@property (nonatomic , assign) NSInteger registerDay;
@property (nonatomic , assign) BOOL isFirstCharge;
@property (nonatomic , assign) BOOL hasPrettyErbanNo;
2023-07-14 18:50:55 +08:00
@property (nonatomic , strong) UserLevelVo * userLevelVo;
2023-07-06 16:54:13 +08:00
@property (nonatomic , assign) BOOL isBindApple;
@property (nonatomic , assign) NSInteger fansNum;
@property (nonatomic , assign) BOOL isBindBankCard;
@property (nonatomic , assign) BOOL hasRegPacket;
2023-07-14 18:50:55 +08:00
@property (nonatomic , assign) GenderType gender;
2023-07-06 16:54:13 +08:00
@property (nonatomic , assign) NSInteger platformRole;
@property (nonatomic , assign) NSInteger uid;
@property (nonatomic , assign) NSInteger defUser;
@property (nonatomic , copy) NSString * phone;
@property (nonatomic , copy) NSString * nick;
@property (nonatomic , assign) NSInteger remainDay;
@property (nonatomic , copy) NSString * avatar;
@property (nonatomic , copy) NSString * reviewingAvatar;
@property (nonatomic , assign) BOOL isReview;
2023-07-14 18:50:55 +08:00
@property (nonatomic , strong) UserInfoSkillVo * userInfoSkillVo;
2023-08-10 16:25:34 +08:00
@property (nonatomic,copy) NSString *region;
@property (nonatomic,copy) NSArray *labels;
2023-07-06 16:54:13 +08:00
@property (nonatomic , assign) BOOL newUser;
@property (nonatomic , assign) NSInteger followNum;
@property (nonatomic , assign) BOOL isBindPaymentPwd;
@property (nonatomic , assign) BOOL isBindXCZAccount;
@property (nonatomic , assign) BOOL isBindAlipay;
2023-07-14 18:50:55 +08:00
///是否绑定了密码
2023-07-06 16:54:13 +08:00
@property (nonatomic , assign) BOOL isBindPasswd;
2023-07-14 18:50:55 +08:00
@property (nonatomic, assign) NSInteger visitNum;///访客数量
@property (nonatomic, assign) NSInteger inRoomNum;///足迹
///是否需要展示限时首充列表
2023-07-06 16:54:13 +08:00
@property (nonatomic, assign) BOOL showLimitCharge;
2023-07-14 18:50:55 +08:00
///限时首充结束时间
2023-07-06 16:54:13 +08:00
@property (nonatomic, assign) long limitChargeEndTime;
2023-07-14 18:50:55 +08:00
///相册
@property (nonatomic, strong) NSArray<UserPhoto *> *privatePhoto;//相册
///签名
2023-07-06 16:54:13 +08:00
@property (nonatomic,copy) NSString *userDesc;
2023-07-14 18:50:55 +08:00
///出生日期
2023-07-06 16:54:13 +08:00
@property (nonatomic,assign) long birth;
2023-07-14 18:50:55 +08:00
///是否实名认证
2023-07-06 16:54:13 +08:00
@property (nonatomic,assign) BOOL isCertified;
2023-07-14 18:50:55 +08:00
///铭牌背景
2023-07-06 16:54:13 +08:00
@property (nonatomic, copy) NSString *nameplatePic;
2023-07-14 18:50:55 +08:00
///铭牌名称
2023-07-06 16:54:13 +08:00
@property (nonatomic, copy) NSString *nameplateWord;
///是否自定义铭牌,
@property(nonatomic,assign) BOOL isCustomWord;
2023-07-14 18:50:55 +08:00
///如果在房间有直播中字段
2023-07-06 16:54:13 +08:00
@property(nonatomic, copy) NSString * roomUid;
2023-07-14 18:50:55 +08:00
///如果在房间,房间的标题
2023-07-06 16:54:13 +08:00
@property (nonatomic, copy) NSString *roomTitle;
2023-07-14 18:50:55 +08:00
///用户信息中的 座驾 并不需要CarModel 映射一下吧
2023-07-06 16:54:13 +08:00
@property (nonatomic,copy) NSString *carEffect;
2023-07-14 18:50:55 +08:00
///座驾特效类型 0普通 1VAP特效
2023-07-06 16:54:13 +08:00
@property (nonatomic, assign) NSInteger otherViewType;
2023-07-14 18:50:55 +08:00
///用户信息中需要用VAP播放的座驾, 映射一下
2023-07-06 16:54:13 +08:00
@property (nonatomic, copy) NSString *viewUrl;
2023-07-14 18:50:55 +08:00
///用户信息中的 座驾昵称 并不需要CarModel 映射一下吧
2023-07-06 16:54:13 +08:00
@property (nonatomic,copy) NSString *carName;
///用户信息中的 头饰的动画 从 HeadwearModel 映射而来
2023-07-06 16:54:13 +08:00
@property (nonatomic,copy) NSString *headwearEffect;
///用户信息中的 头饰的动画 如果没有的话 就用这个 从 HeadwearModel 映射而来
2023-07-06 16:54:13 +08:00
@property (nonatomic,copy) NSString *headwearPic;
@property (nonatomic,assign) NSInteger headwearType; // 1 = svga, 表示 headwearEffect 是 svga 的链接
@property (nonatomic,assign) NSInteger headWearType; // 1 = svga, 表示 headwearEffect 是 svga 的链接, W 大小写不一致是后端的原因,这里做个兼容
///头饰(新字段) 上麦的时候 在扩展字段中的 只用在坑位上 从 HeadwearModel 映射而来
2023-07-06 16:54:13 +08:00
@property (nonatomic,copy) NSString *headWearUrl;
#pragma mark - 相亲房的字段
2023-07-14 18:50:55 +08:00
///是否为相亲模式VIP坑位
2023-07-06 16:54:13 +08:00
@property (nonatomic,assign) BOOL vipMic;
2023-07-14 18:50:55 +08:00
///帽子 相亲中收到礼物值最高的那个人 男神 女神都有
2023-07-06 16:54:13 +08:00
@property (nonatomic,copy) NSString *capUrl;
2023-07-14 18:50:55 +08:00
///是不是选择了人
2023-07-06 16:54:13 +08:00
@property (nonatomic,assign) BOOL hasSelectUser;
2023-07-14 18:50:55 +08:00
///所选择的麦序
2023-07-06 16:54:13 +08:00
@property (nonatomic,assign) int selectMicPosition;
2024-04-11 15:47:44 +08:00
///VIP信息
2023-07-14 18:50:55 +08:00
@property (nonatomic, strong) UserVipInfoVo *userVipInfoVO;
///当前使用的资料卡装扮
2023-07-06 16:54:13 +08:00
@property (nonatomic, copy) NSString *userInfoCardPic;
2023-07-14 18:50:55 +08:00
///麦位光圈链接
2023-07-06 16:54:13 +08:00
@property (nonatomic, copy) NSString *micCircle;
2023-07-14 18:50:55 +08:00
///麦位昵称颜色
2023-07-06 16:54:13 +08:00
@property (nonatomic, copy) NSString *micNickColor;
2023-07-14 18:50:55 +08:00
///技能卡图标列表
2023-07-06 16:54:13 +08:00
@property (nonatomic, strong) NSArray *absCardPics;
2023-07-14 18:50:55 +08:00
///跟随的 本地添加的字段
2023-07-06 16:54:13 +08:00
@property (nonatomic,copy) NSString *fromNick;
2023-07-14 18:50:55 +08:00
@property (nonatomic,assign) UserEnterRoomFromType fromType;
2023-07-06 16:54:13 +08:00
@property (nonatomic,copy) NSString *fromUid;
2023-07-14 18:50:55 +08:00
///安卓房间公屏气泡
2023-07-06 16:54:13 +08:00
@property (nonatomic, copy) NSString *androidBubbleUrl;
2023-07-14 18:50:55 +08:00
///iOS房间公屏气泡
2023-07-06 16:54:13 +08:00
@property (nonatomic, copy) NSString *iosBubbleUrl;
#pragma mark - 小游戏
2023-07-14 18:50:55 +08:00
/// 小游戏状态 0 未加入游戏1 加入游戏未准备2 加入游戏已准备 3 游戏中
@property (nonatomic, assign) LittleGamePlayStatus gameStatus;
///用户的参加PK的类型
@property (nonatomic, assign) GroupType groupType;
///礼物墙中的礼物
@property (nonatomic,strong) NSArray<UserGiftWallInfoModel *> *userGiftWall;
///礼物墙中的幸运礼物礼物
@property (nonatomic,strong) NSArray<UserGiftWallInfoModel *> *userLuckyBagGiftWall;
///是否防被踢
2023-07-06 16:54:13 +08:00
@property (nonatomic, assign) BOOL preventKick;
2023-07-14 18:50:55 +08:00
///是否符合渠道打招呼
2023-07-06 16:54:13 +08:00
@property (nonatomic,assign) BOOL fromSayHelloChannel;
2023-07-14 18:50:55 +08:00
///是否是封号用户
2023-07-06 16:54:13 +08:00
@property (nonatomic,assign) BOOL banAccount;
2023-07-14 18:50:55 +08:00
///用户的动态
2024-07-17 17:49:33 +08:00
@property (nonatomic,strong) NSArray<MomentsInfoModel *> *dynamicInfo;
2023-07-18 18:26:10 +08:00
///区号
2023-08-16 14:21:58 +08:00
@property (nonatomic,copy) NSString *pi_phoneAreaCode;
2023-08-10 16:25:34 +08:00
///声音卡
@property (nonatomic,strong) XPSoundCardModel *audioCard;
2024-04-24 20:08:24 +08:00
@property(nonatomic,copy) NSString *partitionId;
2023-08-10 16:25:34 +08:00
///
///
@property (nonatomic,strong) NSMutableAttributedString *levelAtt;
@property (nonatomic,strong) NSMutableAttributedString *idAtt;
2023-09-12 17:48:18 +08:00
///是否是代充
@property(nonatomic,assign) BOOL isRechargeUser;
2023-09-27 12:35:29 +08:00
///pk时不能禁麦
@property(nonatomic,assign) BOOL isNoProhibitMic;
2024-06-25 15:08:14 +08:00
@property (nonatomic, strong) MedalModel *medals;
2024-09-19 16:52:32 +08:00
@property (nonatomic, strong) RelationUserVO *relationUserVO;
- (BOOL)isUserValid;
- (NSString *)userIDString;
- (BOOL)isHeadWearSVGA;
2023-07-06 16:54:13 +08:00
@end
NS_ASSUME_NONNULL_END