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.hp.cmsz.entity;
import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
/**
* DIM_SYSTEM_FUNCTION_INFO_T表对应的实体类
* 系统功能信息
*
* @author Zhang Wei
*
*/
@Entity
@Table(name = "DIM_SYSTEM_FUNCTION_INFO_T")
public class SystemFunction implements Serializable{
private Long functionId;
private String functionName;
private String belongModule;
@Id
@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="SystemFunctionSequence")
@SequenceGenerator(name = "SystemFunctionSequence", sequenceName = "dim_system_function_info_t_seq", allocationSize=1)
public Long getFunctionId() {
return functionId;
}
public void setFunctionId(Long functionId) {
this.functionId = functionId;
}
public String getFunctionName() {
return functionName;
}
public void setFunctionName(String functionName) {
this.functionName = functionName;
}
public String getBelongModule() {
return belongModule;
}
public void setBelongModule(String belongModule) {
this.belongModule = belongModule;
}
}