// // User.h // FirstLink // // Created by unicode on 14-9-30. // Copyright (c) 2014年 FirstLink. All rights reserved. // #import #import "Motis.h" #define kIsNew @"IsNew" #define kHeadURL @"HeadURL" #define kMobile @"Mobile" #define kNickName @"NickName" #define kStatus @"Status" #define kLevel @"Level" #define kToken @"Token" #define kUserID @"UserID" #define kIntroduce @"introduce" #define kLoginType @"LoginType" typedef NS_ENUM(NSInteger, UserLoginType) { UserLoginTypeMobile, UserLoginTypeVerifyCode, UserLoginTypeExistMobile, UserLoginTypeExistVerifyCode, UserLoginTypeExistQQ, UserLoginTypeExistWeixin, UserLoginTypeExistWeibo, }; @interface User : NSObject @property (nonatomic, strong) NSString *isNew; @property (nonatomic, strong) NSString *markCode; @property (nonatomic, strong) NSString *headurl; @property (nonatomic, strong) NSString *mobile; @property (nonatomic, strong) NSString *nickName; @property (nonatomic, strong) NSString *status; @property (nonatomic, strong) NSString *level; @property (nonatomic, strong) NSString *shareAuthority; @property (nonatomic, strong) NSString *token; @property (nonatomic, strong) NSString *umengToken; @property (nonatomic, strong) NSString *userID; @property (nonatomic, strong) NSString *introduce; @property (nonatomic, assign) UserLoginType lastLoginType; - (BOOL)isVIP; - (BOOL)isVipWithDiscount; @end