fengxiang
2018-09-27 243e009a18d738543baab77b107dea475cf2e8bd
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
package com.moral.entity;
 
import java.util.Date;
import java.util.Map;
 
import javax.persistence.Id;
import javax.persistence.Transient;
 
import lombok.Data;
 
@Data
public class Organization {
    /**
     * This field was generated by MyBatis Generator. This field corresponds to the database column organization.id
     * @mbggenerated  Thu Dec 07 15:18:16 CST 2017
     */
    @Id
    private Integer id;
 
    /**
     * This field was generated by MyBatis Generator. This field corresponds to the database column organization.name
     * @mbggenerated  Thu Dec 07 15:18:16 CST 2017
     */
    private String name;
 
    /**
     * This field was generated by MyBatis Generator. This field corresponds to the database column organization.rank
     * @mbggenerated  Thu Dec 07 15:18:16 CST 2017
     */
    private Integer rank;
 
    /**
     * This field was generated by MyBatis Generator. This field corresponds to the database column organization.province_code
     * @mbggenerated  Thu Dec 07 15:18:16 CST 2017
     */
    private Integer provinceCode;
 
    /**
     * This field was generated by MyBatis Generator. This field corresponds to the database column organization.city_code
     * @mbggenerated  Thu Dec 07 15:18:16 CST 2017
     */
    private Integer cityCode;
 
    /**
     * This field was generated by MyBatis Generator. This field corresponds to the database column organization.area_code
     * @mbggenerated  Thu Dec 07 15:18:16 CST 2017
     */
    private Integer areaCode;
 
    /**
     * This field was generated by MyBatis Generator. This field corresponds to the database column organization.address
     * @mbggenerated  Thu Dec 07 15:18:16 CST 2017
     */
    private String address;
 
    /**
     * This field was generated by MyBatis Generator. This field corresponds to the database column organization.telephone
     * @mbggenerated  Thu Dec 07 15:18:16 CST 2017
     */
    private String telephone;
 
    /**
     * This field was generated by MyBatis Generator. This field corresponds to the database column organization.email
     * @mbggenerated  Thu Dec 07 15:18:16 CST 2017
     */
    private String email;
 
    /**
     * This field was generated by MyBatis Generator. This field corresponds to the database column organization.is_delete
     * @mbggenerated  Thu Dec 07 15:18:16 CST 2017
     */
    private String isDelete;
 
    /**
     * This field was generated by MyBatis Generator. This field corresponds to the database column organization.create_time
     * @mbggenerated  Thu Dec 07 15:18:16 CST 2017
     */
    private Date createTime;
 
    /**
     * This field was generated by MyBatis Generator. This field corresponds to the database column organization.expire_time
     * @mbggenerated  Thu Dec 07 15:18:16 CST 2017
     */
    private Date expireTime;
 
    /**
     * This field was generated by MyBatis Generator. This field corresponds to the database column organization.description
     * @mbggenerated  Thu Dec 07 15:18:16 CST 2017
     */
    private String description;
    private Long townCode;
    private Long villageCode;
 
    public Integer getProvinceCode() {
        return provinceCode==null?0:provinceCode;
    }
 
    public Integer getCityCode() {
        return cityCode==null?0:cityCode;
    }
 
    public Integer getAreaCode() {
        return areaCode==null?0:areaCode;
    }
 
    public Long getTownCode() {
        return townCode==null?0:townCode;
    }
 
    public Long getVillageCode() {
        return villageCode==null?0:villageCode;
    }
 
    @Transient
    private Integer parentId;
    @Transient
    private AreaNames areaNames;
 
}