f64810d72151dd0a7e69c1b15da0f73d66ff64d4
[portal.git] / ecomp-portal-BE-common / src / main / java / org / onap / portalapp / portal / domain / GetAccessResult.java
1 /*-
2  * ============LICENSE_START==========================================
3  * ONAP Portal
4  * ===================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ===================================================================
7  *
8  * Unless otherwise specified, all software contained herein is licensed
9  * under the Apache License, Version 2.0 (the "License");
10  * you may not use this software except in compliance with the License.
11  * You may obtain a copy of the License at
12  *
13  *             http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  *
21  * Unless otherwise specified, all documentation contained herein is licensed
22  * under the Creative Commons License, Attribution 4.0 Intl. (the "License");
23  * you may not use this documentation except in compliance with the License.
24  * You may obtain a copy of the License at
25  *
26  *             https://creativecommons.org/licenses/by/4.0/
27  *
28  * Unless required by applicable law or agreed to in writing, documentation
29  * distributed under the License is distributed on an "AS IS" BASIS,
30  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
31  * See the License for the specific language governing permissions and
32  * limitations under the License.
33  *
34  * ============LICENSE_END============================================
35  *
36  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
37  */
38 package org.onap.portalapp.portal.domain;
39
40 import java.io.Serializable;
41
42 import javax.persistence.Column;
43 import javax.persistence.Entity;
44 import javax.persistence.Id;
45
46 import com.fasterxml.jackson.annotation.JsonInclude;
47
48 @Entity
49 @JsonInclude
50 public class GetAccessResult implements Serializable{
51
52
53         private static final long serialVersionUID = 5239527705869613411L;
54
55         @Id
56         @Column(name="row_id")
57         private String rowId;
58         
59         @Column(name="role_id")
60         private Long roleId;
61         
62         @Column(name="ecomp_function",nullable=true)
63         private String ecompFunction;
64         
65         @Column(name="app_name")
66         private String appName; 
67         
68         @Column(name="app_mots_id",nullable=true)
69         private Integer appMotsId;
70         
71         @Column(name="role_name")
72         private String roleName;
73         
74         @Column(name="role_actv",nullable=true)
75         private String roleActive;
76         
77         
78         @Column(name="request_type",nullable=true)
79         private String reqType;
80         
81         
82         
83         public String getRowId() {
84                 return rowId;
85         }
86         public void setRowId(String rowId) {
87                 this.rowId = rowId;
88         }
89         public Long getRoleId() {
90                 return roleId;
91         }
92         public void setRoleId(Long roleId) {
93                 this.roleId = roleId;
94         } 
95         public String getEcompFunction() {
96                 return ecompFunction;
97         }
98         public void setEcompFunction(String ecompFunction) {
99                 this.ecompFunction = ecompFunction;
100         }
101         public String getAppName() {
102                 return appName;
103         }
104         public void setAppName(String appName) {
105                 this.appName = appName;
106         }
107         public Integer getAppMotsId() {
108                 return appMotsId;
109         }
110         public void setAppMotsId(Integer appMotsId) {
111                 this.appMotsId = appMotsId;
112         }
113         public String getRoleName() {
114                 return roleName;
115         }
116         public void setRoleName(String roleName) {
117                 this.roleName = roleName;
118         }
119         public String getRoleActive() {
120                 return roleActive;
121         }
122         public void setRoleActive(String roleActive) {
123                 this.roleActive = roleActive;
124         }
125         public String getReqType() {
126                 return reqType;
127         }
128         public void setReqType(String reqType) {
129                 this.reqType = reqType;
130         }
131         
132 }