44 lines
1.5 KiB
Objective-C
44 lines
1.5 KiB
Objective-C
//
|
||
// UserModel.h
|
||
// Ifish
|
||
//
|
||
// Created by imac on 15/9/27.
|
||
// Copyright © 2015年 imac. All rights reserved.
|
||
//
|
||
|
||
#import <Foundation/Foundation.h>
|
||
|
||
@interface UserModel : NSObject<NSCoding>
|
||
|
||
@property(nonatomic,copy)NSString*phoneNumber;
|
||
@property(nonatomic,strong)NSNumber*userId;
|
||
@property(nonatomic,copy)NSString*nickName;
|
||
@property(nonatomic,copy)NSString*userSex;
|
||
@property(nonatomic,copy)NSString*signature;//用户签名
|
||
@property(nonatomic,copy)NSString*userImg;
|
||
//用于P2P登录
|
||
@property(nonatomic,copy) NSString *P2PVerifyCode1;
|
||
@property(nonatomic,copy) NSString *P2PVerifyCode2;
|
||
|
||
@property(nonatomic,copy) NSString *sessionID;
|
||
@property(nonatomic,copy)NSString *sessionID2;
|
||
@property(nonatomic,copy) NSString *gwellUserID;
|
||
@property(nonatomic,copy) NSString *messageIsRead;//0存在未读消息,1,没有未读消息
|
||
//商铺Id
|
||
@property(nonatomic,copy) NSString *shopsUserId;
|
||
//用户类型 1 商家用户 0 普通用户
|
||
@property(nonatomic,copy) NSString *userType;
|
||
|
||
@property(nonatomic,copy) NSString *callId;//技威处理后的Id
|
||
//云信token
|
||
@property(nonatomic,copy) NSString *neteaseToken;
|
||
@property(nonatomic,copy) NSString *unionId;//微信登陆时的unionId
|
||
@property(nonatomic,copy) NSString *wechatImgUrl;//微信登陆时的unionId
|
||
//v4.2 后已去字段
|
||
//@property(nonatomic,copy)NSString*updateTime;//用户信息最后一次更新时间
|
||
//@property(nonatomic,strong)NSNumber*timestamp;//服务器时间戳,用于APP内置时钟
|
||
//@property(nonatomic,copy)NSString*token;
|
||
-(instancetype)initWithDict:(NSDictionary *)dict;
|
||
|
||
@end
|