--- /dev/null
+/**\r
+ * Copyright 2017 ZTE Corporation.\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
+package org.onap.holmes.common.api.entity;\r
+\r
+import com.fasterxml.jackson.annotation.JsonProperty;\r
+import java.util.Date;\r
+import lombok.Data;\r
+import lombok.NoArgsConstructor;\r
+\r
+@Data\r
+@NoArgsConstructor\r
+public class AlarmsCorrelation {\r
+\r
+ @JsonProperty(value = "ruleid")\r
+ private String ruleId;\r
+\r
+ @JsonProperty(value = "ruleinfo")\r
+ private String ruleInfo;\r
+\r
+ @JsonProperty(value = "resulttype")\r
+ private byte resultType;\r
+\r
+ @JsonProperty(value = "createtime")\r
+ private Date createTime;\r
+\r
+ @JsonProperty(value = "parentalarmid")\r
+ private long parentAlarmId;\r
+\r
+ @JsonProperty(value = "childalarmid")\r
+ private long childAlarmId;\r
+\r
+ @JsonProperty(defaultValue = "-1")\r
+ private long reserve1 = -1;\r
+\r
+ @JsonProperty(defaultValue = "-1")\r
+ private long reserve2 = -1;\r
+\r
+ @JsonProperty(defaultValue = "-1")\r
+ private long reserve3 = -1;\r
+}\r