ASUserModel.m 632 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. //
  2. // ASUserModel.m
  3. // Asteria
  4. //
  5. // Created by iOS on 2023/11/27.
  6. //
  7. #import "ASUserModel.h"
  8. @implementation ASUserModel
  9. + (NSDictionary *)mj_replacedKeyFromPropertyName {
  10. return @{
  11. @"Id": @"id",
  12. @"is_subscribed": @"extension_attributes.is_subscribed",
  13. };
  14. }
  15. + (NSDictionary *)mj_objectClassInArray{
  16. return @{
  17. @"addresses" : [ASAddressModel class]
  18. };
  19. }
  20. @end
  21. @implementation ASAddressModel
  22. + (NSDictionary *)mj_replacedKeyFromPropertyName {
  23. return @{
  24. @"Id": @"id",
  25. };
  26. }
  27. @end
  28. @implementation ASAddressReginModel
  29. @end