[PORTAL-16 PORTAL-18] Widget ms; staging
[portal.git] / ecomp-portal-BE-common / src / main / java / org / openecomp / portalapp / portal / domain / GetAccessResult.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 import com.fasterxml.jackson.annotation.JsonInclude;
29
30 @Entity
31 @JsonInclude
32 public class GetAccessResult implements Serializable{
33
34
35         private static final long serialVersionUID = 5239527705869613411L;
36
37         @Id
38         @Column(name="row_id")
39         private String rowId;
40         
41         @Column(name="role_id")
42         private Long roleId;
43         
44         @Column(name="ecomp_function",nullable=true)
45         private String ecompFunction;
46         
47         @Column(name="app_name")
48         private String appName; 
49         
50         @Column(name="app_mots_id",nullable=true)
51         private Integer appMotsId;
52         
53         @Column(name="role_name")
54         private String roleName;
55         
56         @Column(name="role_actv",nullable=true)
57         private String roleActive;
58         
59         
60         @Column(name="request_type",nullable=true)
61         private String reqType;
62         
63         
64         
65         public String getRowId() {
66                 return rowId;
67         }
68         public void setRowId(String rowId) {
69                 this.rowId = rowId;
70         }
71         public Long getRoleId() {
72                 return roleId;
73         }
74         public void setRoleId(Long roleId) {
75                 this.roleId = roleId;
76         } 
77         public String getEcompFunction() {
78                 return ecompFunction;
79         }
80         public void setEcompFunction(String ecompFunction) {
81                 this.ecompFunction = ecompFunction;
82         }
83         public String getAppName() {
84                 return appName;
85         }
86         public void setAppName(String appName) {
87                 this.appName = appName;
88         }
89         public Integer getAppMotsId() {
90                 return appMotsId;
91         }
92         public void setAppMotsId(Integer appMotsId) {
93                 this.appMotsId = appMotsId;
94         }
95         public String getRoleName() {
96                 return roleName;
97         }
98         public void setRoleName(String roleName) {
99                 this.roleName = roleName;
100         }
101         public String getRoleActive() {
102                 return roleActive;
103         }
104         public void setRoleActive(String roleActive) {
105                 this.roleActive = roleActive;
106         }
107         public String getReqType() {
108                 return reqType;
109         }
110         public void setReqType(String reqType) {
111                 this.reqType = reqType;
112         }
113         
114 }