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 javax.persistence.Column;
23 import javax.persistence.Entity;
24 import javax.persistence.Id;
26 import org.openecomp.portalsdk.core.domain.support.DomainVo;
28 import com.fasterxml.jackson.annotation.JsonInclude;
32 public class EPUserAppCatalogRoles extends DomainVo {
34 private static final long serialVersionUID = -5259869298825093816L;
38 @Column(name="requested_role_id")
39 public Long requestedRoleId;
43 @Column(name="role_name")
44 public String rolename;
47 @Column(name="request_status")
48 public String requestStatus;
51 @Column(name="app_id")
54 public Long getRequestedRoleId() {
55 return requestedRoleId;
58 public void setRequestedRoleId(Long requestedRoleId) {
59 this.requestedRoleId = requestedRoleId;
62 public String getRolename() {
66 public void setRolename(String rolename) {
67 this.rolename = rolename;
70 public String getRequestStatus() {
74 public void setRequestStatus(String requestStatus) {
75 this.requestStatus = requestStatus;
78 public Long getAppId() {
82 public void setAppId(Long appId) {
86 public String toString() {
87 return "EPUserAppCatalogRoles [requestedRoleId=" + requestedRoleId + ", rolename=" + rolename
88 + ", requestStatus=" + requestStatus + ", appId=" + appId + "]";