nexus site path corrected
[portal.git] / ecomp-portal-BE / src / main / java / org / openecomp / portalapp / portal / domain / UserRole.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.Entity;
26 import javax.persistence.Id;
27
28 @Entity
29 public class UserRole implements Serializable{
30         private static final long serialVersionUID = 1L;
31         
32         
33         @Id
34         @Column(name="USER_ID")
35         private Long user_Id;
36         
37         @Id
38         @Column(name="ROLE_ID")
39         private Long roleId;
40         
41         @Column(name="ORG_USER_ID")
42         private String orgUserId;
43
44         
45         @Column(name="FIRST_NAME")
46         private String firstName;
47         
48         @Column(name="LAST_NAME")
49         private String lastName;
50
51         
52         @Column(name="ROLE_NAME")
53         private String roleName; 
54         
55         public String getFirstName() {
56                 return firstName;
57         }
58         public void setFirstName(String firstName) {
59                 this.firstName = firstName;
60         }
61         public String getLastName() {
62                 return lastName;
63         }
64         public void setLastName(String lastName) {
65                 this.lastName = lastName;
66         }
67         public String getOrgUserId() {
68                 return orgUserId;
69         }
70         public void setOrgUserId(String orgUserId) {
71                 this.orgUserId = orgUserId;
72         }
73         public String getRoleName() {
74                 return roleName;
75         }
76         public void setRoleName(String roleName) {
77                 this.roleName = roleName;
78         }
79         public Long getUser_Id() {
80                 return user_Id;
81         }
82         public void setUser_Id(Long user_Id) {
83                 this.user_Id = user_Id;
84         }
85         public Long getRoleId() {
86                 return roleId;
87         }
88         public void setRoleId(Long roleId) {
89                 this.roleId = roleId;
90         }
91 }