894316e520f7537c5a0e0926afa4c747fd8d51d3
[portal.git] / ecomp-portal-BE-common / src / main / java / org / openecomp / portalapp / portal / domain / EcompAppRoleId.java
1 /*-
2  * ================================================================================
3  * ECOMP Portal
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ================================================================================
19  */
20 package org.openecomp.portalapp.portal.domain;
21
22 import java.io.Serializable;
23
24 import javax.persistence.Column;
25 import javax.persistence.Id;
26
27 public class EcompAppRoleId implements Serializable{
28         
29         /**
30          * 
31          */
32         private static final long serialVersionUID = 1L;
33
34         @Id
35         @Column(name="app_id")
36         private Long appId;
37  
38         @Id
39         @Column(name="app_name")
40         private String appName; 
41         
42         @Id
43         @Column(name="role_id")
44         private Integer roleId;
45         
46         @Id
47         @Column(name="role_name")
48         private String roleName;
49
50         public Long getAppId() {
51                 return appId;
52         }
53
54         public void setAppId(Long appId) {
55                 this.appId = appId;
56         }
57
58         public String getAppName() {
59                 return appName;
60         }
61
62         public void setAppName(String appName) {
63                 this.appName = appName;
64         }
65
66         public Integer getRoleId() {
67                 return roleId;
68         }
69
70         public void setRoleId(Integer roleId) {
71                 this.roleId = roleId;
72         }
73
74         public String getRoleName() {
75                 return roleName;
76         }
77
78         public void setRoleName(String roleName) {
79                 this.roleName = roleName;
80         }
81         
82
83 }