You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
912 B
55 lines
912 B
// |
|
// CityModelData.h |
|
// ProvinceAndCityAndTown |
|
// |
|
// Created by 冷求慧 on 16/12/27. |
|
// Copyright © 2016年 冷求慧. All rights reserved. |
|
// |
|
|
|
#import <Foundation/Foundation.h> |
|
|
|
@class Province,City,District; |
|
@interface CityModelData : NSObject |
|
/** |
|
* 省份模型数组 |
|
*/ |
|
@property (nonatomic, strong) NSArray<Province *> *province; |
|
|
|
@end |
|
@interface Province : NSObject |
|
/** |
|
* 省份名字 |
|
*/ |
|
@property (nonatomic, copy) NSString *name; |
|
/** |
|
* 城市模型数组 |
|
*/ |
|
@property (nonatomic, strong) NSArray<City *> *city; |
|
|
|
@end |
|
|
|
@interface City : NSObject |
|
/** |
|
* 城市名字 |
|
*/ |
|
@property (nonatomic, copy) NSString *name; |
|
/** |
|
* 县级模型数组 |
|
*/ |
|
@property (nonatomic, strong) NSArray<District *> *district; |
|
|
|
@end |
|
|
|
@interface District : NSObject |
|
/** |
|
* 县级名字 |
|
*/ |
|
@property (nonatomic, copy) NSString *name; |
|
/** |
|
* 邮编 |
|
*/ |
|
@property (nonatomic, copy) NSString *zipcode; |
|
|
|
@end |
|
|
|
|
|
|