ASOrderDetailsModel.m 662 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //
  2. // ASOrderDetailsModel.m
  3. // Asteria
  4. //
  5. // Created by xingyu on 2024/5/15.
  6. //
  7. #import "ASOrderDetailsModel.h"
  8. @implementation ASOrderDetailsModel
  9. + (NSDictionary *)mj_objectClassInArray{
  10. return @{
  11. @"items" : [ASOrderDetailsItemModel class],
  12. };
  13. }
  14. + (NSDictionary *)mj_replacedKeyFromPropertyName {
  15. return @{
  16. @"currency_symbol":@"extension_attributes.currency_symbol"
  17. };
  18. }
  19. @end
  20. @implementation ASOrderDetailsItemModel
  21. + (NSDictionary *)mj_replacedKeyFromPropertyName {
  22. return @{
  23. @"image":@"extension_attributes.image",
  24. @"sku":@"extension_attributes.sku"
  25. };
  26. }
  27. @end