diff --git a/src/main/java/com/loafle/overflow/module/sensorconfig/model/MappingInfo.java b/src/main/java/com/loafle/overflow/module/sensorconfig/model/MappingInfo.java index 78908c3..918f89b 100644 --- a/src/main/java/com/loafle/overflow/module/sensorconfig/model/MappingInfo.java +++ b/src/main/java/com/loafle/overflow/module/sensorconfig/model/MappingInfo.java @@ -1,11 +1,13 @@ package com.loafle.overflow.module.sensorconfig.model; +import java.util.List; + /** * MappingInfo */ public class MappingInfo { private String parseDirection; - private String[] arrayColumns; - private String[] keyColumns; + private List arrayColumns; + private List keyColumns; private String valueColumn; } \ No newline at end of file diff --git a/src/main/java/com/loafle/overflow/module/sensorconfig/model/SensorConfig.java b/src/main/java/com/loafle/overflow/module/sensorconfig/model/SensorConfig.java index ec7a478..3901983 100644 --- a/src/main/java/com/loafle/overflow/module/sensorconfig/model/SensorConfig.java +++ b/src/main/java/com/loafle/overflow/module/sensorconfig/model/SensorConfig.java @@ -1,9 +1,15 @@ package com.loafle.overflow.module.sensorconfig.model; +import java.util.List; + /** * SensorConfig */ public class SensorConfig { - - + private long id; + private String configID; + private Target target; + private Schedule schedule; + private Crawler crawler; + private List items; } \ No newline at end of file diff --git a/src/main/java/com/loafle/overflow/module/sensorconfig/model/Target.java b/src/main/java/com/loafle/overflow/module/sensorconfig/model/Target.java index 1859012..1f7548f 100644 --- a/src/main/java/com/loafle/overflow/module/sensorconfig/model/Target.java +++ b/src/main/java/com/loafle/overflow/module/sensorconfig/model/Target.java @@ -6,6 +6,6 @@ import java.util.Map; * Target */ public class Target { - private Map auth; + private Map auth; private Connection connection; } \ No newline at end of file