//
//  UserArchive.h
//
//  Created by ls on 2019/7/22.
//  Copyright © 2019 CY. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface UserArchive : NSObject<NSCoding>
@property (copy,nonatomic) NSString *username;//用户姓名
@property (copy,nonatomic) NSString *phone;//手机号
@property (copy,nonatomic) NSString *sex;//性别 0：男 1：女
@property (copy,nonatomic) NSString *height;
@property (copy,nonatomic) NSString *weight;
@property (copy,nonatomic) NSString *age;
@property (assign,nonatomic) BOOL isAutoLogin;//是否自动登录


/**
 最新登录的账号

 @param lastUser <#lastUser description#>
 */
+(void)encodeUser:(UserArchive*)lastUser;

+(UserArchive*)aDecoderUser;
@end

NS_ASSUME_NONNULL_END
