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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
package cn.flightfeather.thirdappmodule.bean.entity;
 
import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Generated;
 
/**
 * Created by note_ff_1602 on 2018/1/19.
 */
@Entity
public class Town {
    @Id
    private Long townid;
    @Property
    private Long districtid;
    @Property
    private Long cityid;
    @Property
    private Long provinceid;
    @Property
    private String towncode;
    @Property
    private String townname;
    @Property
    private String station;
    @Generated(hash = 1244305976)
    public Town(Long townid, Long districtid, Long cityid, Long provinceid,
            String towncode, String townname, String station) {
        this.townid = townid;
        this.districtid = districtid;
        this.cityid = cityid;
        this.provinceid = provinceid;
        this.towncode = towncode;
        this.townname = townname;
        this.station = station;
    }
    @Generated(hash = 2030923556)
    public Town() {
    }
    public Long getTownid() {
        return this.townid;
    }
    public void setTownid(Long townid) {
        this.townid = townid;
    }
    public Long getDistrictid() {
        return this.districtid;
    }
    public void setDistrictid(Long districtid) {
        this.districtid = districtid;
    }
    public Long getCityid() {
        return this.cityid;
    }
    public void setCityid(Long cityid) {
        this.cityid = cityid;
    }
    public Long getProvinceid() {
        return this.provinceid;
    }
    public void setProvinceid(Long provinceid) {
        this.provinceid = provinceid;
    }
    public String getTowncode() {
        return this.towncode;
    }
    public void setTowncode(String towncode) {
        this.towncode = towncode;
    }
    public String getTownname() {
        return this.townname;
    }
    public void setTownname(String townname) {
        this.townname = townname;
    }
    public String getStation() {
        return this.station;
    }
    public void setStation(String station) {
        this.station = station;
    }
 
}