12345678910111213141516171819202122232425262728293031323334353637383940 |
- //
- // BRResultModel.h
- // BRPickerViewDemo
- //
- // Created by renbo on 2019/10/2.
- // Copyright © 2019 irenb. All rights reserved.
- //
- // 最新代码下载地址:https://github.com/91renb/BRPickerView
- #import <Foundation/Foundation.h>
- NS_ASSUME_NONNULL_BEGIN
- @interface BRResultModel : NSObject
- /** 索引 */
- @property (nonatomic, assign) NSInteger index;
- /** key */
- @property (nullable, nonatomic, copy) NSString *key;
- /** value */
- @property (nullable, nonatomic, copy) NSString *value;
- /** 父级key(提示:联动时第一级数据,parentKey设置为:@"-1") */
- @property (nullable, nonatomic, copy) NSString *parentKey;
- /** 父级value */
- @property (nullable, nonatomic, copy) NSString *parentValue;
- /// 其它扩展字段
- @property (nullable, nonatomic, copy) NSString *remark;
- @property (nonatomic, assign) BOOL boolField;
- @property (nullable, nonatomic, strong) id idField;
- @property (nullable, nonatomic, strong) NSNumber *numberField;
- @property (nullable, nonatomic, copy) NSString *ID __attribute__((deprecated("Use 'key' instead")));
- @property (nullable, nonatomic, copy) NSString *name __attribute__((deprecated("Use 'value' instead")));
- @end
- NS_ASSUME_NONNULL_END
|