211 lines
8.3 KiB
Objective-C
211 lines
8.3 KiB
Objective-C
//
|
||
// UserInfoModel.h
|
||
// xplan-ios
|
||
//
|
||
// Created by zu on 2021/9/14.
|
||
//
|
||
|
||
#import "NSObject+MJExtension.h"
|
||
#import "UserExpand.h"
|
||
#import "UserLevelVo.h"
|
||
#import "UserInfoSkillVo.h"
|
||
#import "UserVipInfoVo.h"
|
||
#import "UserPhoto.h"
|
||
#import "UserGiftWallInfoModel.h"
|
||
#import "MomentsInfoModel.h"
|
||
#import "XPSoundCardModel.h"
|
||
#import "MedalModel.h"
|
||
#import "RelationUserVO.h"
|
||
#import "GuildInfo.h"
|
||
#import "NameplateModel.h"
|
||
|
||
|
||
NS_ASSUME_NONNULL_BEGIN
|
||
|
||
@interface UsingPersonalBackground : PIBaseModel
|
||
|
||
@property(nonatomic, assign) NSInteger effectType; // 装扮动效图片类型 空/0-图,1-mp4,2-svga
|
||
@property(nonatomic, assign) NSInteger status;
|
||
@property(nonatomic, assign) NSInteger id;
|
||
@property(nonatomic, assign) NSInteger partitionFlag;
|
||
@property(nonatomic, assign) NSTimeInterval updateTime;
|
||
@property(nonatomic, assign) NSTimeInterval createTime;
|
||
@property(nonatomic, copy) NSString *pic;
|
||
@property(nonatomic, copy) NSString *effect;
|
||
@property(nonatomic, copy) NSString *name;
|
||
|
||
@end
|
||
|
||
@interface InfoCardVO : PIBaseModel
|
||
|
||
@property(nonatomic, assign) NSInteger effectType; // 装扮动效图片类型 空/0-图,1-mp4,2-svga
|
||
@property(nonatomic, copy) NSString *effect;
|
||
|
||
@end
|
||
|
||
|
||
@interface UserInfoModel : PIBaseModel
|
||
@property (nonatomic , assign) NSInteger bindType;
|
||
@property (nonatomic , assign) NSInteger createTime;
|
||
@property (nonatomic , assign) BOOL parentMode;
|
||
@property (nonatomic , assign) BOOL isBindPhone;
|
||
@property (nonatomic , strong) UserExpand * userExpand;
|
||
@property (nonatomic , assign) NSInteger erbanNo;
|
||
@property (nonatomic , assign) NSInteger registerDay;
|
||
@property (nonatomic , assign) BOOL isFirstCharge;
|
||
@property (nonatomic , assign) BOOL hasPrettyErbanNo;
|
||
@property (nonatomic , strong) UserLevelVo * userLevelVo;
|
||
@property (nonatomic , assign) BOOL isBindApple;
|
||
@property (nonatomic , assign) NSInteger fansNum;
|
||
@property (nonatomic , assign) BOOL isBindBankCard;
|
||
@property (nonatomic , assign) BOOL hasRegPacket;
|
||
@property (nonatomic , assign) GenderType gender;
|
||
@property (nonatomic , assign) NSInteger platformRole; /// 0 普通 1超管
|
||
@property (nonatomic , assign) NSInteger uid;
|
||
@property (nonatomic , assign) NSInteger defUser;
|
||
@property (nonatomic , copy) NSString * phone;
|
||
@property (nonatomic , copy) NSString * email;
|
||
@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;
|
||
@property (nonatomic , strong) UserInfoSkillVo * userInfoSkillVo;
|
||
@property (nonatomic,copy) NSString *region;
|
||
@property (nonatomic,copy) NSArray *labels;
|
||
@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;
|
||
///是否绑定了密码
|
||
@property (nonatomic , assign) BOOL isBindPasswd;
|
||
@property (nonatomic, assign) NSInteger visitNum;///访客数量
|
||
@property (nonatomic, assign) NSInteger inRoomNum;///足迹
|
||
///是否需要展示限时首充列表
|
||
@property (nonatomic, assign) BOOL showLimitCharge;
|
||
///限时首充结束时间
|
||
@property (nonatomic, assign) long limitChargeEndTime;
|
||
///相册
|
||
@property (nonatomic, strong) NSArray<UserPhoto *> *privatePhoto;//相册
|
||
///签名
|
||
@property (nonatomic,copy) NSString *userDesc;
|
||
///出生日期
|
||
@property (nonatomic,assign) long birth;
|
||
///是否实名认证
|
||
@property (nonatomic,assign) BOOL isCertified;
|
||
///铭牌背景
|
||
@property (nonatomic, copy) NSString *nameplatePic;
|
||
///铭牌名称
|
||
@property (nonatomic, copy) NSString *nameplateWord;
|
||
///是否自定义铭牌,
|
||
@property(nonatomic,assign) BOOL isCustomWord;
|
||
///如果在房间有直播中字段
|
||
@property(nonatomic, copy) NSString * roomUid;
|
||
///如果在房间,房间的标题
|
||
@property (nonatomic, copy) NSString *roomTitle;
|
||
///用户信息中的 座驾 并不需要CarModel 映射一下吧
|
||
@property (nonatomic,copy) NSString *carEffect;
|
||
///座驾特效类型 0:普通, 1:VAP特效
|
||
@property (nonatomic, assign) NSInteger otherViewType;
|
||
///用户信息中需要用VAP播放的座驾, 映射一下
|
||
@property (nonatomic, copy) NSString *viewUrl;
|
||
///用户信息中的 座驾昵称 并不需要CarModel 映射一下吧
|
||
@property (nonatomic,copy) NSString *carName;
|
||
///用户信息中的 头饰的动画 从 HeadwearModel 映射而来
|
||
@property (nonatomic,copy) NSString *headwearEffect;
|
||
///用户信息中的 头饰的动画 如果没有的话 就用这个 从 HeadwearModel 映射而来
|
||
@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 映射而来
|
||
@property (nonatomic,copy) NSString *headWearUrl;
|
||
#pragma mark - 相亲房的字段
|
||
///是否为相亲模式VIP坑位
|
||
@property (nonatomic,assign) BOOL vipMic;
|
||
///帽子 相亲中收到礼物值最高的那个人 男神 女神都有
|
||
@property (nonatomic,copy) NSString *capUrl;
|
||
///是不是选择了人
|
||
@property (nonatomic,assign) BOOL hasSelectUser;
|
||
///所选择的麦序
|
||
@property (nonatomic,assign) int selectMicPosition;
|
||
///VIP信息
|
||
@property (nonatomic, strong) UserVipInfoVo *userVipInfoVO;
|
||
///当前使用的资料卡装扮
|
||
@property (nonatomic, copy) NSString *userInfoCardPic;
|
||
///麦位光圈链接
|
||
@property (nonatomic, copy) NSString *micCircle;
|
||
///麦位昵称颜色
|
||
@property (nonatomic, copy) NSString *micNickColor;
|
||
|
||
///技能卡图标列表
|
||
@property (nonatomic, strong) NSArray *absCardPics;
|
||
|
||
///跟随的 本地添加的字段
|
||
@property (nonatomic,copy) NSString *fromNick;
|
||
@property (nonatomic,assign) UserEnterRoomFromType fromType;
|
||
@property (nonatomic,copy) NSString *fromUid;
|
||
///安卓房间公屏气泡
|
||
@property (nonatomic, copy) NSString *androidBubbleUrl;
|
||
///iOS房间公屏气泡
|
||
@property (nonatomic, copy) NSString *iosBubbleUrl;
|
||
#pragma mark - 小游戏
|
||
/// 小游戏状态 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;
|
||
///是否防被踢
|
||
@property (nonatomic, assign) BOOL preventKick;
|
||
///是否符合渠道打招呼
|
||
@property (nonatomic,assign) BOOL fromSayHelloChannel;
|
||
///是否是封号用户
|
||
@property (nonatomic,assign) BOOL banAccount;
|
||
///用户的动态
|
||
@property (nonatomic,strong) NSArray<MomentsInfoModel *> *dynamicInfo;
|
||
///区号
|
||
@property (nonatomic,copy) NSString *pi_phoneAreaCode;
|
||
///声音卡
|
||
@property (nonatomic,strong) XPSoundCardModel *audioCard;
|
||
|
||
@property(nonatomic,copy) NSString *partitionId;
|
||
///
|
||
///
|
||
@property (nonatomic,strong) NSMutableAttributedString *levelAtt;
|
||
@property (nonatomic,strong) NSMutableAttributedString *idAtt;
|
||
///是否是代充代理
|
||
@property(nonatomic,assign) BOOL isRechargeUser;
|
||
///pk时不能禁麦
|
||
@property(nonatomic,assign) BOOL isNoProhibitMic;
|
||
|
||
@property (nonatomic, strong) MedalModel *medals;
|
||
|
||
@property (nonatomic, strong) RelationUserVO *relationUserVO;
|
||
|
||
@property (nonatomic, strong) GuildInfo *guildInfo;
|
||
|
||
@property (nonatomic, copy) NSArray <NameplateModel *> *userNameplateList;
|
||
|
||
@property(nonatomic, strong) UsingPersonalBackground *usingPersonalBackground;
|
||
|
||
@property(nonatomic, strong) InfoCardVO *infoCardVo;
|
||
|
||
/// 是否超管身份
|
||
@property(nonatomic, assign) BOOL hasSuperRole;
|
||
|
||
@property(nonatomic, copy) NSString *guildNameplateIcon;
|
||
|
||
- (BOOL)isUserValid;
|
||
- (NSString *)userIDString;
|
||
|
||
- (BOOL)isHeadWearSVGA;
|
||
|
||
- (BOOL)isArabia;
|
||
|
||
@end
|
||
|
||
NS_ASSUME_NONNULL_END
|