9f221ebaea53dd5502fdc75d525e0bbd0d617be8.svn-base
1.3 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
package com.espeed.centre.pojo;
import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
/**
* 项目名称: 统一验证中心系统
* 版权所有: 深圳市科飞时速网络技术有限公司(0755-88843776)
* 技术支持: info@21gmail.com
* 单元名称: 中央数据库部门实体类
* 开始时间: 2017.09.29
* 开发人员: 陈南巧
*/
@Entity
@Table(name="centre_department")
public class YxyDeptInfo implements Serializable{
private static final long serialVersionUID = 1L;
private int dept_id;//部门id
private int company_id;//企业id
private String dept_name;//部门名称
private int parent_dept_id;//上级部门ID
@Id
@GeneratedValue(strategy=GenerationType.AUTO)
public int getDept_id() {
return dept_id;
}
public void setDept_id(int deptId) {
dept_id = deptId;
}
public int getCompany_id() {
return company_id;
}
public void setCompany_id(int companyId) {
company_id = companyId;
}
public String getDept_name() {
return dept_name;
}
public void setDept_name(String deptName) {
dept_name = deptName;
}
public int getParent_dept_id() {
return parent_dept_id;
}
public void setParent_dept_id(int parentDeptId) {
parent_dept_id = parentDeptId;
}
}