70 lines
1.7 KiB
Objective-C
70 lines
1.7 KiB
Objective-C
//
|
|
// TFUserCenterModel.h
|
|
// TFReader
|
|
//
|
|
// Created by 谢腾飞 on 2020/12/11.
|
|
// Copyright © 2020 xtfei_2011@126.com. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
@class TFUserCenterListModel;
|
|
|
|
/// 个人中心首页
|
|
@interface TFUserCenterModel : NSObject
|
|
|
|
@property (nonatomic ,copy) NSString *nickname;
|
|
|
|
@property (nonatomic ,copy) NSString *avatar;
|
|
|
|
@property (nonatomic ,copy) NSString *user_token;
|
|
/// 主货币单位
|
|
@property (nonatomic ,copy) NSString *masterUnit;
|
|
/// 主货币数量
|
|
@property (nonatomic ,assign) NSInteger masterRemain;
|
|
/// 子货币单位
|
|
@property (nonatomic ,copy) NSString *subUnit;
|
|
/// 子货币数量
|
|
@property (nonatomic ,assign) NSInteger subRemain;
|
|
/// 月票余额
|
|
@property (nonatomic ,assign) NSInteger ticketRemain;
|
|
|
|
@property (nonatomic ,assign ,getter = isVip) BOOL vip;
|
|
|
|
@property (nonatomic ,copy) NSString *mobile;
|
|
|
|
@property (nonatomic ,assign) NSInteger uid;
|
|
|
|
@property (nonatomic ,assign) NSInteger gender;
|
|
/// 列表信息
|
|
@property (nonatomic ,copy) NSArray<NSArray <TFUserCenterListModel *> *> *panel_list;
|
|
|
|
@end
|
|
|
|
|
|
|
|
/// 个人中心列表信息
|
|
@interface TFUserCenterListModel : NSObject
|
|
|
|
@property (nonatomic ,copy) NSString *title;
|
|
|
|
@property (nonatomic ,copy) NSString *desc;
|
|
/// 16进制颜色
|
|
@property (nonatomic ,copy) NSString *title_color;
|
|
/// 16进制颜色
|
|
@property (nonatomic ,copy) NSString *desc_color;
|
|
|
|
@property (nonatomic ,copy) NSString *icon;
|
|
/// 动作类型
|
|
@property (nonatomic ,copy) NSString *action;
|
|
|
|
@property (nonatomic ,copy) NSString *content;
|
|
/// 点击状态
|
|
@property (nonatomic ,assign ,getter = isEnable) BOOL enable;
|
|
|
|
@property (nonatomic ,assign) NSInteger group_id;
|
|
|
|
@end
|
|
NS_ASSUME_NONNULL_END
|