2 * ================================================================================
\r
4 * ================================================================================
\r
5 * Copyright (C) 2017 AT&T Intellectual Property
\r
6 * ================================================================================
\r
7 * Licensed under the Apache License, Version 2.0 (the "License");
\r
8 * you may not use this file except in compliance with the License.
\r
9 * You may obtain a copy of the License at
\r
11 * http://www.apache.org/licenses/LICENSE-2.0
\r
13 * Unless required by applicable law or agreed to in writing, software
\r
14 * distributed under the License is distributed on an "AS IS" BASIS,
\r
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
16 * See the License for the specific language governing permissions and
\r
17 * limitations under the License.
\r
18 * ================================================================================
\r
20 package org.openecomp.portalapp.portal.transport;
\r
22 import javax.persistence.Column;
\r
23 import javax.persistence.Entity;
\r
24 import javax.persistence.GeneratedValue;
\r
25 import javax.persistence.GenerationType;
\r
26 import javax.persistence.Id;
\r
27 import javax.persistence.Table;
\r
29 import org.openecomp.portalsdk.core.domain.support.DomainVo;
\r
32 @Table(name="ep_role_notification")
\r
33 public class EpRoleNotificationItem extends DomainVo {
\r
34 public EpRoleNotificationItem(){};
\r
36 private static final long serialVersionUID = 1L;
\r
39 @GeneratedValue(strategy=GenerationType.IDENTITY)
\r
40 @Column(name = "ID")
\r
43 @Column(name = "notification_ID")
\r
44 public Long notificationId;
\r
46 @Column(name = "role_ID")
\r
47 public Integer roleId;
\r
49 @Column(name = "recv_user_id")
\r
50 public Integer RecvUserId;
\r
53 public Long getId() {
\r
57 public void setId(Long id) {
\r
61 public Long getNotificationId() {
\r
62 return notificationId;
\r
65 public void setNotificationId(Long notificationId) {
\r
66 this.notificationId = notificationId;
\r
69 public Integer getRoleId() {
\r
73 public void setRoleId(Integer roleId) {
\r
74 this.roleId = roleId;
\r
77 public static long getSerialversionuid() {
\r
78 return serialVersionUID;
\r
81 public Integer getRecvUserId() {
\r
85 public void setRecvUserId(Integer recvUserId) {
\r
86 RecvUserId = recvUserId;
\r