BRAddressModel.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. //
  2. // BRAddressModel.h
  3. // BRPickerViewDemo
  4. //
  5. // Created by renbo on 2017/8/11.
  6. // Copyright © 2017 irenb. All rights reserved.
  7. //
  8. // 最新代码下载地址:https://github.com/91renb/BRPickerView
  9. #import <Foundation/Foundation.h>
  10. NS_ASSUME_NONNULL_BEGIN
  11. /// 省
  12. @interface BRProvinceModel : NSObject
  13. /** 省对应的code或id */
  14. @property (nullable, nonatomic, copy) NSString *code;
  15. /** 省的名称 */
  16. @property (nullable, nonatomic, copy) NSString *name;
  17. /** 省的索引 */
  18. @property (nonatomic, assign) NSInteger index;
  19. /** 城市数组 */
  20. @property (nullable, nonatomic, copy) NSArray *citylist;
  21. @end
  22. /// 市
  23. @interface BRCityModel : NSObject
  24. /** 市对应的code或id */
  25. @property (nullable, nonatomic, copy) NSString *code;
  26. /** 市的名称 */
  27. @property (nullable, nonatomic, copy) NSString *name;
  28. /** 市的索引 */
  29. @property (nonatomic, assign) NSInteger index;
  30. /** 地区数组 */
  31. @property (nullable, nonatomic, copy) NSArray *arealist;
  32. @end
  33. /// 区
  34. @interface BRAreaModel : NSObject
  35. /** 区对应的code或id */
  36. @property (nullable, nonatomic, copy) NSString *code;
  37. /** 区的名称 */
  38. @property (nullable, nonatomic, copy) NSString *name;
  39. /** 区的索引 */
  40. @property (nonatomic, assign) NSInteger index;
  41. @end
  42. NS_ASSUME_NONNULL_END