blob: 0f37ec9e22df875d00dc345a6824725cac194a95 (
plain)
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
|
package org.onap.simulator.db.entities;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
@Entity(name = "fn_function")
public class Function {
@Id
@Column(name = "function_cd")
private String code;
@Column(name = "function_name")
private String name;
private String type;
private String action;
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getAction() {
return action;
}
public void setAction(String action) {
this.action = action;
}
public String getName() {
return name;
}
public String getCode() {
return code;
}
public void setName(String name) {
this.name = name;
}
public void setCode(String code) {
this.code = code;
}
@Override
public String toString() {
return "RoleFunction [code=" + code + ", name=" + name + ", type=" + type + ", action=" + action + "]";
}
}
|