36 lines
683 B
Objective-C
36 lines
683 B
Objective-C
//
|
|
// CandyTreeMoreItemModel.h
|
|
// xplan-ios
|
|
//
|
|
// Created by 冯硕 on 2023/3/10.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
typedef NS_ENUM(NSInteger, CandyTreeMoreItemType) {
|
|
///购买
|
|
CandyTreeMoreItemType_Buy,
|
|
///记录
|
|
CandyTreeMoreItemType_Record,
|
|
///规则
|
|
CandyTreeMoreItemType_Rule,
|
|
///开关
|
|
CandyTreeMoreItemType_Switch
|
|
};
|
|
|
|
@interface CandyTreeMoreItemModel : NSObject
|
|
///类型
|
|
@property (nonatomic,assign) CandyTreeMoreItemType type;
|
|
///标题
|
|
@property (nonatomic,copy) NSString *title;
|
|
///状态
|
|
@property (nonatomic,assign) BOOL switchState;
|
|
///是否可用
|
|
@property (nonatomic,assign) BOOL switchEnable;
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|