City.h
1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
//
// City.h
//
// ***************************************************************
// Copyright (c) 2014 –苏州犀牛网络科技有限公司
// Title: com.xiniunet.basic.domain.City
// Description: basic Domain
// @author 吕浩
// ***************************************************************
//
#import "BaseDomain.h"
@interface City : BaseDomain
/**
* @brief 主键
*/
@property(nonatomic) UInt64 uuid;
/**
* @brief 省份ID
*/
@property(nonatomic) UInt64 provinceId;
/**
* @brief 城市名称
*/
@property(nonatomic,retain) NSString* name;
/**
* @brief 拼音
*/
@property(nonatomic,retain) NSString* pinyin;
/**
* @brief 拼音缩写
*/
@property(nonatomic,retain) NSString* py;
/**
* @brief 排序索引
*/
@property(nonatomic) UInt64 orderIndex;
/**
* @brief 行版本号
*/
@property(nonatomic) UInt64 rowVersion;
@property(nonatomic) BaseDomain *baseDomain;
/**
* @brief 初始化
*/
- (instancetype)init;
/**
* @brief 通过字典赋值
*/
-(void)setSelfDic:(NSMutableDictionary *)dic;
/**
* @brief 返回自身最外层的key
*/
-(NSString *)f_getSelfKey;
@end