29,027
社区成员
发帖
与我相关
我的任务
分享
#import <JSONModel/JSONModel.h>
@protocol PersonalInfoR
@end
@interface PersonalInfoR : JSONModel
@property NSInteger id;
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *phone;
@property NSInteger birthday;
@property NSInteger mainAddressId;
@property NSInteger mainCompanyId;
@property (nonatomic, copy) NSString *picAddr;
@property NSInteger termId;
@property (nonatomic, copy) NSString *password;
@property NSInteger valid;
@property NSInteger loginTime;
@property NSInteger privacy;
@property (nonatomic, copy) NSString *pinyin;
@property NSInteger onlinetime;
@end
@protocol PersonalInfoR;
@interface PersonalInfo : JSONModel
@property (nonatomic, strong) PersonalInfoR *body;
@property NSInteger status;
@property (nonatomic, copy) NSString *message;
@end
_myPersonalInfo = [[PersonalInfo alloc] initWithDictionary:responseObject error:nil];