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.transport;
22 import javax.persistence.Column;
23 import javax.persistence.Entity;
24 import javax.persistence.GeneratedValue;
25 import javax.persistence.GenerationType;
26 import javax.persistence.Id;
27 import javax.persistence.Table;
29 import org.openecomp.portalsdk.core.domain.support.DomainVo;
32 @Table(name="ep_role_notification")
33 public class EpRoleNotificationItem extends DomainVo {
34 public EpRoleNotificationItem(){};
36 private static final long serialVersionUID = 1L;
39 @GeneratedValue(strategy=GenerationType.IDENTITY)
43 @Column(name = "notification_ID")
44 public Long notificationId;
46 @Column(name = "role_ID")
47 public Integer roleId;
49 @Column(name = "recv_user_id")
50 public Integer RecvUserId;
57 public void setId(Long id) {
61 public Long getNotificationId() {
62 return notificationId;
65 public void setNotificationId(Long notificationId) {
66 this.notificationId = notificationId;
69 public Integer getRoleId() {
73 public void setRoleId(Integer roleId) {
77 public static long getSerialversionuid() {
78 return serialVersionUID;
81 public Integer getRecvUserId() {
85 public void setRecvUserId(Integer recvUserId) {
86 RecvUserId = recvUserId;