MOGiftPackItems.h 719 B

1234567891011121314151617181920212223242526
  1. //
  2. // MOGiftPackItems.h
  3. //
  4. // Created by SuperCabbage on 2024/9/10
  5. // Copyright (c) 2024 __MyCompanyName__. All rights reserved.
  6. //
  7. #import <Foundation/Foundation.h>
  8. @interface MOGiftPackItems : NSObject <NSCoding, NSCopying>
  9. @property (nonatomic, assign) double amount;
  10. @property (nonatomic, strong) NSString *icon;
  11. @property (nonatomic, assign) BOOL forever;
  12. /** 类型(1=钻石,2=道具,3=礼物) */
  13. @property (nonatomic, assign) double type;
  14. @property (nonatomic, strong) NSString *name;
  15. @property (nonatomic, strong) NSString *desc;
  16. + (instancetype)modelObjectWithDictionary:(NSDictionary *)dict;
  17. - (instancetype)initWithDictionary:(NSDictionary *)dict;
  18. - (NSDictionary *)dictionaryRepresentation;
  19. @end