Browse Source

数据库改造代码提交

pengdi@zoniot.com 4 years ago
parent
commit
b9bc1e92e4

+ 57 - 0
smart-city-common/src/main/java/com/zcxk/zoniot/smartcity/common/dto/UdipUnitDataDTO.java

@@ -0,0 +1,57 @@
+package com.zcxk.zoniot.smartcity.common.dto;
+
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+import java.io.Serializable;
+import java.util.Date;
+/**
+ * <p></p>
+ *
+ * @Author wilian.peng
+ * @Date 2020/3/26 9:00
+ * @Version 1.0
+ */
+@ApiModel(value="集成元数据")
+@Data
+@NoArgsConstructor
+@AllArgsConstructor
+public class UdipUnitDataDTO implements Serializable {
+    @ApiModelProperty(value="主键")
+    private String id;
+
+    @ApiModelProperty(value="上报Agent")
+    private String agentIdentifier;
+
+    @ApiModelProperty(value="集成元标识符")
+    private String unitIdentifier;
+
+    @ApiModelProperty(value="型号")
+    private String mode;
+
+    @ApiModelProperty(value="类型")
+    private String type;
+
+    @ApiModelProperty(value="厂商")
+    private String manufacturer;
+
+    @ApiModelProperty(value="原始数据格式")
+    private String originalDataFormat ;
+
+    @ApiModelProperty(value="原始数据")
+    private String originalData;
+
+    @ApiModelProperty(value="集成方标识符")
+    private String integrationIdentifier;
+
+    @ApiModelProperty(value="解析数据")
+    private String parsedData ;
+
+    @ApiModelProperty(value="上报数据时间")
+    private Date eventTime;
+
+    @ApiModelProperty(value="接收数据时间")
+    private Date receiveTime ;
+}