[PORTAL-7] Rebase
[portal.git] / ecomp-portal-BE-common / src / main / java / org / openecomp / portalapp / portal / domain / AdminUserApp.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 AdminUserApp implements Serializable{
30         private static final long serialVersionUID = 1L;
31
32         @Id
33         @Column(name="USER_ID")
34         private Long user_Id;
35         
36         @Column(name="FIRST_NAME")
37         private String firstName;
38         
39         @Column(name="LAST_NAME")
40         private String lastName;
41         
42         @Column(name="ORG_USER_ID")
43         private String orgUserId;
44
45         @Id
46         @Column(name="APP_ID")
47         private Long appId; 
48         
49         @Column(name="APP_NAME")
50         private String appName; 
51         
52         public Long getAppId() {
53                 return appId;
54         }
55         public void setAppId(Long appId) {
56                 this.appId = appId;
57         }
58         public Long getUser_Id() {
59                 return user_Id;
60         }
61         public void setUserId(Long user_Id) {
62                 this.user_Id = user_Id;
63         }
64         public String getFirstName() {
65                 return firstName;
66         }
67         public void setFirstName(String firstName) {
68                 this.firstName = firstName;
69         }
70         public String getLastName() {
71                 return lastName;
72         }
73         public void setLastName(String lastName) {
74                 this.lastName = lastName;
75         }
76         public String getOrgUserId() {
77                 return orgUserId;
78         }
79         public void setOrgUserId(String orgUserId) {
80                 this.orgUserId = orgUserId;
81         }
82         public String getAppName() {
83                 return appName;
84         }
85         public void setAppName(String appName) {
86                 this.appName = appName;
87         }
88 }