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