GoodsInformationM.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. //
  2. // GoodsInformationM.h
  3. // westkissMob
  4. //
  5. // Created by 王猛 on 2022/9/16.
  6. //
  7. #import <Foundation/Foundation.h>
  8. NS_ASSUME_NONNULL_BEGIN
  9. @class MediaGalleryEntriesModel;
  10. @class OptionsModel;
  11. @class OptionsValuesM;
  12. @interface GoodsInformationM : NSObject
  13. @property (nonatomic, copy) NSString *Id;
  14. @property (nonatomic, copy)NSString *name;
  15. @property (nonatomic, copy) NSString *price;
  16. @property (nonatomic, copy) NSString *final_prices;
  17. @property (nonatomic, copy) NSString *currency_symbol;
  18. @property (nonatomic, copy) NSString *sold;
  19. @property (nonatomic, copy) NSString *review_nums;
  20. @property (nonatomic, copy) NSString *xxx_showImg;
  21. @property (nonatomic, strong) NSArray <MediaGalleryEntriesModel *>*media_gallery_entries;
  22. /// "attribute_code": "attribute_code",
  23. //"value": "0"
  24. @property (nonatomic, strong) NSArray <NSDictionary*>*custom_attributes;
  25. @property (nonatomic, strong) NSArray <OptionsModel *>*options;
  26. //add
  27. @property (nonatomic, strong) NSString *add_gooodsImgUrl;
  28. @property (nonatomic, strong) NSAttributedString *priceAtr;
  29. @end
  30. @interface MediaGalleryEntriesModel : NSObject
  31. @property (nonatomic, copy) NSString *media_type;
  32. @property (nonatomic, copy) NSString *label;
  33. @property (nonatomic, copy) NSString *file;
  34. @end
  35. @interface OptionsModel : NSObject
  36. @property (nonatomic, copy) NSString *option_id;
  37. @property (nonatomic, copy) NSString *product_sku;
  38. @property (nonatomic, copy) NSString *title;
  39. @property (nonatomic, strong) NSArray <OptionsValuesM *>*values;
  40. @property (nonatomic, assign) NSInteger optionSelectTag;
  41. @end
  42. @interface OptionsValuesM : NSObject
  43. @property (nonatomic, copy) NSString *title;
  44. @property (nonatomic, copy) NSString *option_type_id;
  45. @property (nonatomic, assign) double price;
  46. @end
  47. NS_ASSUME_NONNULL_END