// // SSDKUser.h // ShareSDK // // Created by 冯 鸿杰 on 15/2/6. // Copyright (c) 2015年 掌淘科技. All rights reserved. // #import @class SSDKCredential; /** * 性别 */ typedef NS_ENUM(NSUInteger, SSDKGender) { /** * 男 */ SSDKGenderMale = 0, /** * 女 */ SSDKGenderFemale = 1, /** * 未知 */ SSDKGenderUnknown = 2, }; /** * 用户信息 */ @interface SSDKUser : SSDKDataModel /** * 平台类型 */ @property (nonatomic) SSDKPlatformType platformType; /** * 授权凭证, 为nil则表示尚未授权 */ @property (nonatomic, strong) SSDKCredential *credential; /** * 用户标识 */ @property (nonatomic, copy) NSString *uid; /** * 昵称 */ @property (nonatomic, copy) NSString *nickname; /** * 头像 */ @property (nonatomic, copy) NSString *icon; /** * 大头像 */ @property (nonatomic, copy) NSString *bigIcon; /** * 性别 男-0 女-1 未知-2 */ @property (nonatomic) NSInteger gender; /** * 用户主页 */ @property (nonatomic, copy) NSString *url; /** * 用户简介 */ @property (nonatomic, copy) NSString *aboutMe; /** * 认证用户类型 */ @property (nonatomic) NSInteger verifyType; /** * 认证描述 */ @property (nonatomic, copy) NSString *verifyReason; /** * 生日 */ @property (nonatomic, strong) NSDate *birthday; /** * 粉丝数 */ @property (nonatomic) NSInteger followerCount; /** * 好友数 */ @property (nonatomic) NSInteger friendCount; /** * 分享数 */ @property (nonatomic) NSInteger shareCount; /** * 注册时间 */ @property (nonatomic) NSTimeInterval regAt; /** * 用户等级 */ @property (nonatomic) NSInteger level; /** * 教育信息 */ @property (nonatomic, retain) NSArray *educations; /** * 职业信息 */ @property (nonatomic, retain) NSArray *works; /** * 标签 */ @property (strong, nonatomic) NSArray *tags; /** * 原始数据 */ @property (strong, nonatomic) NSDictionary *rawData; @end