XklCityEntity.java
986 Bytes
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
package com.xkl.domain;
import lombok.Data;
import javax.persistence.*;
/**
* Created by win7 on 2017/2/27.
*/
@Data
@Entity
@Table(name = "xkl_city")
public class XklCityEntity {
@Id
@GeneratedValue
@Column(name = "id")
private long id;
@Basic
@Column(name = "city_name")
private String cityName;
@Basic
@Column(name = "parent_id")
private long parentId;
@Basic
@Column(name = "state")
private Byte state;
@Basic
@Column(name = "remark")
private String remark;
@Basic
@Column(name = "city_sort")
private Byte citySort;
@Basic
@Column(name = "city_area")
private String cityArea;
@Basic
@Column(name = "id_card_code")
private String idCardCode;
@Basic
@Column(name = "first_pinyin")
private String firstPinyin;
@Basic
@Column(name = "full_pinyin")
private String fullPinyin;
@Basic
@Column(name = "simple_pinyin")
private String simplePinyin;
}