Files
keyboard/keyBoard/Class/Login/M/KBUser.h

29 lines
817 B
C
Raw Normal View History

2025-11-13 19:07:59 +08:00
//
// KBUser.h
// 登录模块-用户模型MJExtension 解析)
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface KBUser : NSObject
// 标识
@property (nonatomic, copy, nullable) NSString *userId; // id/user_id/uid
// 基本信息
2025-12-02 20:33:17 +08:00
@property (nonatomic, copy, nullable) NSString *nickName;
@property (nonatomic, copy, nullable) NSString *avatarUrl; // 头像 URL
2025-11-13 19:07:59 +08:00
@property (nonatomic, copy, nullable) NSString *gender; // 性别(后端可能返回 string/int统一转字符串存
@property (nonatomic, copy, nullable) NSString *email;
2025-12-02 20:33:17 +08:00
/// 邮箱是否验证
@property (nonatomic, assign) BOOL emailVerified;
2025-11-13 19:07:59 +08:00
// 会话信息
@property (nonatomic, copy, nullable) NSString *token; // token/access_token/accessToken
@end
NS_ASSUME_NONNULL_END