XklCompanyEntity.java
935 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
import lombok.Data;
import javax.persistence.*;
/**
* Created by win7 on 2017/2/27.
*/
@Data
@Entity
@Table(name = "xkl_company")
public class XklCompanyEntity {
@Id
@GeneratedValue
@Column(name = "id")
private long id;
@Basic
@Column(name = "name")
private String name;
@Basic
@Column(name = "parent_id")
private long parentId;
@Basic
@Column(name = "province_id")
private long provinceId;
@Basic
@Column(name = "city_id")
private long cityId;
@Basic
@Column(name = "country_id")
private long countryId;
@Basic
@Column(name = "company_code")
private long companyCode;
@Basic
@Column(name = "company_type")
private int companyType;
@Basic
@Column(name = "level")
private int level;
@Basic
@Column(name = "show_level")
private int showLevel;
@Basic
@Column(name = "status")
private int status;
}