2 * ================================================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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 * ================================================================================
20 package org.openecomp.portalapp.portal.domain;
22 import java.io.Serializable;
24 import javax.persistence.Column;
25 import javax.persistence.Entity;
26 import javax.persistence.Id;
29 public class UserRole implements Serializable{
30 private static final long serialVersionUID = 1L;
34 @Column(name="USER_ID")
38 @Column(name="ROLE_ID")
41 @Column(name="ORG_USER_ID")
42 private String orgUserId;
45 @Column(name="FIRST_NAME")
46 private String firstName;
48 @Column(name="LAST_NAME")
49 private String lastName;
52 @Column(name="ROLE_NAME")
53 private String roleName;
55 public String getFirstName() {
58 public void setFirstName(String firstName) {
59 this.firstName = firstName;
61 public String getLastName() {
64 public void setLastName(String lastName) {
65 this.lastName = lastName;
67 public String getOrgUserId() {
70 public void setOrgUserId(String orgUserId) {
71 this.orgUserId = orgUserId;
73 public String getRoleName() {
76 public void setRoleName(String roleName) {
77 this.roleName = roleName;
79 public Long getUser_Id() {
82 public void setUser_Id(Long user_Id) {
83 this.user_Id = user_Id;
85 public Long getRoleId() {
88 public void setRoleId(Long roleId) {