--- /dev/null
+/*\r
+ * ============LICENSE_START========================================================================\r
+ * ONAP : tr-069-adapter\r
+ * =================================================================================================\r
+ * Copyright (C) 2020 CommScope Inc Intellectual Property.\r
+ * =================================================================================================\r
+ * This tr-069-adapter software file is distributed by CommScope Inc under the Apache License,\r
+ * Version 2.0 (the "License"); you may not use this file except in compliance with the License. You\r
+ * may obtain a copy of the License at\r
+ *\r
+ * http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,\r
+ * either express or implied. See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ * ===============LICENSE_END=======================================================================\r
+ */\r
+\r
+package org.commscope.tr069adapter.acs.requestprocessor.entity;\r
+\r
+import java.io.Serializable;\r
+import java.util.Date;\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
+@Entity\r
+@Table(name = "TR069_NBI_REQUEST")\r
+public class TR069DeviceRPCRequestEntity implements Serializable {\r
+\r
+ private static final long serialVersionUID = 1L;\r
+\r
+ @Id\r
+ @GeneratedValue(strategy = GenerationType.AUTO)\r
+ private Long id;\r
+\r
+ @Column(name = "DEVICE_ID", length = 30)\r
+ private String deviceId;\r
+\r
+ @Column(name = "OPERATION_ID", length = 30)\r
+ private Long operationId;\r
+\r
+ @Column(name = "OPERATION_CODE", length = 3)\r
+ private Integer opCode;\r
+\r
+ @Column(name = "ATTRIBUTE_JSON1", length = 4000)\r
+ private String attributeJson1;\r
+\r
+ @Column(name = "ATTRIBUTE_JSON2", length = 4000)\r
+ private String attributeJson2;\r
+\r
+ @Column(name = "ATTRIBUTE_JSON3", length = 4000)\r
+ private String attributeJson3;\r
+\r
+ @Column(name = "REQUEST_TIME_OUT", length = 5)\r
+ private Long requestTimeOut;\r
+\r
+ @Column(name = "CREATE_TIME")\r
+ private Date createTime;\r
+\r
+ @Column(name = "IS_PROCESSED", length = 2)\r
+ private Integer isProcessed;\r
+\r
+ public Long getId() {\r
+ return id;\r
+ }\r
+\r
+ public void setId(Long id) {\r
+ this.id = id;\r
+ }\r
+\r
+ public String getDeviceId() {\r
+ return deviceId;\r
+ }\r
+\r
+ public void setDeviceId(String deviceId) {\r
+ this.deviceId = deviceId;\r
+ }\r
+\r
+ public Long getOperationId() {\r
+ return operationId;\r
+ }\r
+\r
+ public void setOperationId(Long operationId) {\r
+ this.operationId = operationId;\r
+ }\r
+\r
+ public Integer getOpCode() {\r
+ return opCode;\r
+ }\r
+\r
+ public void setOpCode(Integer opCode) {\r
+ this.opCode = opCode;\r
+ }\r
+\r
+ public String getAttributeJson1() {\r
+ return attributeJson1;\r
+ }\r
+\r
+ public void setAttributeJson1(String attributeJson1) {\r
+ this.attributeJson1 = attributeJson1;\r
+ }\r
+\r
+ public String getAttributeJson2() {\r
+ return attributeJson2;\r
+ }\r
+\r
+ public void setAttributeJson2(String attributeJson2) {\r
+ this.attributeJson2 = attributeJson2;\r
+ }\r
+\r
+ public String getAttributeJson3() {\r
+ return attributeJson3;\r
+ }\r
+\r
+ public void setAttributeJson3(String attributeJson3) {\r
+ this.attributeJson3 = attributeJson3;\r
+ }\r
+\r
+ public Long getRequestTimeOut() {\r
+ return requestTimeOut;\r
+ }\r
+\r
+ public void setRequestTimeOut(Long requestTimeOut) {\r
+ this.requestTimeOut = requestTimeOut;\r
+ }\r
+\r
+ public Date getCreateTime() {\r
+ return createTime;\r
+ }\r
+\r
+ public void setCreateTime(Date createTime) {\r
+ this.createTime = createTime;\r
+ }\r
+\r
+ public Integer getIsProcessed() {\r
+ return isProcessed;\r
+ }\r
+\r
+ public void setIsProcessed(Integer isProcessed) {\r
+ this.isProcessed = isProcessed;\r
+ }\r
+\r
+}\r