MOGiftPackList.h 735 B

12345678910111213141516171819202122232425262728
  1. //
  2. // MOGiftPackList.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 MOGiftPackList : NSObject <NSCoding, NSCopying>
  9. @property (nonatomic, assign) double amount;
  10. @property (nonatomic, strong) NSString *id;
  11. @property (nonatomic, assign) double costPrice;
  12. @property (nonatomic, strong) NSArray *giftPackItems;
  13. @property (nonatomic, assign) BOOL bought;
  14. @property (nonatomic, strong) NSString *payCode;
  15. @property (nonatomic, assign) BOOL isChoose;
  16. + (instancetype)modelObjectWithDictionary:(NSDictionary *)dict;
  17. - (instancetype)initWithDictionary:(NSDictionary *)dict;
  18. - (NSDictionary *)dictionaryRepresentation;
  19. @end