--- /dev/null
+/**\r
+* Copyright (C) 2016 ZTE, Inc. and others. All rights reserved. (ZTE)\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.openo.msb.api;\r
+\r
+import java.util.Date;\r
+\r
+import com.fasterxml.jackson.annotation.JsonInclude;\r
+import com.fasterxml.jackson.annotation.JsonInclude.Include;\r
+import com.fasterxml.jackson.databind.annotation.JsonSerialize;\r
+\r
+public class NodeInfo extends Node {\r
+\r
+ private static final long serialVersionUID = 8955786461351557306L;\r
+ \r
+ private String nodeId;\r
+ \r
+ \r
+\r
+ @JsonSerialize(using = CustomDateSerializer.class)\r
+ private Date expiration;\r
+ \r
+ @JsonSerialize(using = CustomDateSerializer.class)\r
+ private Date created_at;\r
+ \r
+ @JsonSerialize(using = CustomDateSerializer.class)\r
+ private Date updated_at;\r
+\r
+ public Date getExpiration() {\r
+ return expiration;\r
+ }\r
+\r
+ public void setExpiration(Date expiration) {\r
+ this.expiration = expiration;\r
+ }\r
+\r
+ public Date getCreated_at() {\r
+ return created_at;\r
+ }\r
+\r
+ public void setCreated_at(Date created_at) {\r
+ this.created_at = created_at;\r
+ }\r
+\r
+ public Date getUpdated_at() {\r
+ return updated_at;\r
+ }\r
+\r
+ public void setUpdated_at(Date updated_at) {\r
+ this.updated_at = updated_at;\r
+ }\r
+\r
+ public String getNodeId() {\r
+ return nodeId;\r
+ }\r
+\r
+ public void setNodeId(String nodeId) {\r
+ this.nodeId = nodeId;\r
+ }\r
+ \r
+ \r
+}\r