ASMineAddressModel.m 570 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //
  2. // ASMineAddressModel.m
  3. // Asteria
  4. //
  5. // Created by iOS on 2024/5/7.
  6. //
  7. #import "ASMineAddressModel.h"
  8. @implementation KWCountryAddressModel
  9. + (NSDictionary *)mj_replacedKeyFromPropertyName {
  10. return @{
  11. @"country_id": @"id",
  12. };
  13. }
  14. + (NSDictionary *)mj_objectClassInArray{
  15. return @{
  16. @"available_regions" : [KWProvinceAddressModel class]
  17. };
  18. }
  19. @end
  20. @implementation KWProvinceAddressModel
  21. + (NSDictionary *)mj_replacedKeyFromPropertyName {
  22. return @{
  23. @"Id": @"id",
  24. };
  25. }
  26. @end