26cf54844554a13f053fa456958df28641ae18dc
[portal.git] / ecomp-portal-BE-common / src / main / java / org / openecomp / portalapp / portal / transport / EpRoleNotificationItem.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.transport;
21
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;
28
29 import org.openecomp.portalsdk.core.domain.support.DomainVo;
30
31 @Entity
32 @Table(name="ep_role_notification")
33 public class EpRoleNotificationItem extends DomainVo  {
34         public EpRoleNotificationItem(){};
35         
36         private static final long serialVersionUID = 1L;
37
38         @Id
39     @GeneratedValue(strategy=GenerationType.IDENTITY)
40         @Column(name = "ID")
41         public Long id;
42         
43         @Column(name = "notification_ID")
44         public Long notificationId;
45                 
46         @Column(name = "role_ID")
47         public Integer roleId;
48         
49         @Column(name = "recv_user_id")
50         public Integer RecvUserId;
51
52
53         public Long getId() {
54                 return id;
55         }
56
57         public void setId(Long id) {
58                 this.id = id;
59         }
60
61         public Long getNotificationId() {
62                 return notificationId;
63         }
64
65         public void setNotificationId(Long notificationId) {
66                 this.notificationId = notificationId;
67         }
68
69         public Integer getRoleId() {
70                 return roleId;
71         }
72
73         public void setRoleId(Integer roleId) {
74                 this.roleId = roleId;
75         }
76
77         public static long getSerialversionuid() {
78                 return serialVersionUID;
79         }
80         
81         public Integer getRecvUserId() {
82                 return RecvUserId;
83         }
84
85         public void setRecvUserId(Integer recvUserId) {
86                 RecvUserId = recvUserId;
87         }
88
89
90 }