[PORTAL-7] Rebase
[portal.git] / ecomp-portal-BE-common / src / main / java / org / openecomp / portalapp / portal / transport / EpRoleNotificationItem.java
diff --git a/ecomp-portal-BE-common/src/main/java/org/openecomp/portalapp/portal/transport/EpRoleNotificationItem.java b/ecomp-portal-BE-common/src/main/java/org/openecomp/portalapp/portal/transport/EpRoleNotificationItem.java
new file mode 100644 (file)
index 0000000..66840ed
--- /dev/null
@@ -0,0 +1,90 @@
+/*-\r
+ * ================================================================================\r
+ * ECOMP Portal\r
+ * ================================================================================\r
+ * Copyright (C) 2017 AT&T Intellectual Property\r
+ * ================================================================================\r
+ * Licensed under the Apache License, Version 2.0 (the "License");\r
+ * you may not use this file except in compliance with the License.\r
+ * You may obtain a copy of the License at\r
+ * \r
+ *      http://www.apache.org/licenses/LICENSE-2.0\r
+ * \r
+ * Unless required by applicable law or agreed to in writing, software\r
+ * distributed under the License is distributed on an "AS IS" BASIS,\r
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ * See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ * ================================================================================\r
+ */\r
+package org.openecomp.portalapp.portal.transport;\r
+\r
+import javax.persistence.Column;\r
+import javax.persistence.Entity;\r
+import javax.persistence.GeneratedValue;\r
+import javax.persistence.GenerationType;\r
+import javax.persistence.Id;\r
+import javax.persistence.Table;\r
+\r
+import org.openecomp.portalsdk.core.domain.support.DomainVo;\r
+\r
+@Entity\r
+@Table(name="ep_role_notification")\r
+public class EpRoleNotificationItem extends DomainVo  {\r
+       public EpRoleNotificationItem(){};\r
+       \r
+       private static final long serialVersionUID = 1L;\r
+\r
+       @Id\r
+    @GeneratedValue(strategy=GenerationType.IDENTITY)\r
+       @Column(name = "ID")\r
+       public Long id;\r
+       \r
+       @Column(name = "notification_ID")\r
+       public Long notificationId;\r
+               \r
+       @Column(name = "role_ID")\r
+       public Integer roleId;\r
+       \r
+       @Column(name = "recv_user_id")\r
+       public Integer RecvUserId;\r
+\r
+\r
+       public Long getId() {\r
+               return id;\r
+       }\r
+\r
+       public void setId(Long id) {\r
+               this.id = id;\r
+       }\r
+\r
+       public Long getNotificationId() {\r
+               return notificationId;\r
+       }\r
+\r
+       public void setNotificationId(Long notificationId) {\r
+               this.notificationId = notificationId;\r
+       }\r
+\r
+       public Integer getRoleId() {\r
+               return roleId;\r
+       }\r
+\r
+       public void setRoleId(Integer roleId) {\r
+               this.roleId = roleId;\r
+       }\r
+\r
+       public static long getSerialversionuid() {\r
+               return serialVersionUID;\r
+       }\r
+       \r
+       public Integer getRecvUserId() {\r
+               return RecvUserId;\r
+       }\r
+\r
+       public void setRecvUserId(Integer recvUserId) {\r
+               RecvUserId = recvUserId;\r
+       }\r
+\r
+\r
+}\r