| 1234567891011121314151617181920212223242526272829303132333435363738 |
- //
- // MORedSendConfigs.h
- //
- // Created by SuperCabbage on 2024/6/14
- // Copyright (c) 2024 __MyCompanyName__. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- @interface MORedSendConfigs : NSObject <NSCoding, NSCopying>
- @property (nonatomic, assign) double maxNum;
- @property (nonatomic, assign) double minNum;
- /** 配置编号 */
- @property (nonatomic, assign) double code;
- /** 红包范围 */
- @property (nonatomic, assign) double scope;
- @property (nonatomic, assign) double maxAmount;
- @property (nonatomic, assign) double minAmount;
- /** 红包类型 */
- @property (nonatomic, assign) double type;
- @property (nonatomic, copy) NSArray *optionalNum;
- @property (nonatomic, assign) BOOL isSelect;
- @property (nonatomic, copy) NSString *iconName;//本地图片名称
- @property (nonatomic, assign) BOOL isCustom;//标记是自定义的配置
- @property (nonatomic, assign) NSInteger customAmountValue;//自定义的金额
- @property (nonatomic, assign) NSInteger customQuantityValue;//自定义的红包数量
- + (instancetype)modelObjectWithDictionary:(NSDictionary *)dict;
- - (instancetype)initWithDictionary:(NSDictionary *)dict;
- - (NSDictionary *)dictionaryRepresentation;
- @end
|