AddressModel.h 909 B

123456789101112131415161718192021222324252627282930
  1. //
  2. // AddressModel.h
  3. // yunbaolive
  4. //
  5. // Created by ybRRR on 2020/2/12.
  6. // Copyright © 2020 cat. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface AddressModel : NSObject
  11. @property (nonatomic, strong)NSString *name;//姓名
  12. @property (nonatomic, strong)NSString *country;//国家
  13. @property (nonatomic, strong)NSString *province;//省
  14. @property (nonatomic, strong)NSString *city;//市
  15. @property (nonatomic, strong)NSString *area;//区
  16. @property (nonatomic, strong)NSString *address;//详细地址
  17. @property (nonatomic, strong)NSString *country_code;//国家代码
  18. @property (nonatomic, strong)NSString *phone;//电话
  19. @property (nonatomic, strong)NSString *is_default;//是否默认
  20. @property (nonatomic, strong)NSString *idStr;
  21. -(instancetype)initWithDic:(NSDictionary *)dic;
  22. +(instancetype)modelWithDic:(NSDictionary *)subdic;
  23. @end
  24. NS_ASSUME_NONNULL_END