34 lines
1.2 KiB
Objective-C
34 lines
1.2 KiB
Objective-C
//
|
|
// ConfigData.h
|
|
//
|
|
// Created by Yao on 2024/12/19
|
|
// Copyright (c) 2024 zL. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@interface ConfigData : NSObject <NSCoding, NSCopying>
|
|
|
|
@property (nonatomic, strong) NSString *description;
|
|
@property (nonatomic, strong) NSString *iosVersionCode;
|
|
@property (nonatomic, assign) NSInteger forceUpdate;
|
|
@property (nonatomic, strong) NSString *fbUrl;
|
|
@property (nonatomic, strong) NSString *credentials;
|
|
@property (nonatomic, strong) NSString *url;
|
|
@property (nonatomic, assign) CGFloat inviteFee;
|
|
@property (nonatomic, assign) NSInteger userId;
|
|
@property (nonatomic, assign) NSInteger contactApplyMode;
|
|
@property (nonatomic, strong) NSString *versionCode;
|
|
@property (nonatomic, strong) NSString *tgUrl;
|
|
@property (nonatomic, assign) NSInteger noticeApplyMode;
|
|
@property (nonatomic, strong) NSString *wsUrl;
|
|
@property (nonatomic, strong) NSString *apkUrl;
|
|
@property (nonatomic, strong) NSString *downloadUrl;
|
|
@property (nonatomic, assign) NSInteger isUse;
|
|
|
|
+ (instancetype)modelObjectWithDictionary:(NSDictionary *)dict;
|
|
- (instancetype)initWithDictionary:(NSDictionary *)dict;
|
|
- (NSDictionary *)dictionaryRepresentation;
|
|
|
|
@end
|