From a9113a65072ec6cf0d98d4cdb53561dfa96765e7 Mon Sep 17 00:00:00 2001 From: crusader Date: Mon, 23 Apr 2018 17:34:15 +0900 Subject: [PATCH] ing --- .../module/sensorconfig/model/MappingInfo.java | 6 ++++-- .../module/sensorconfig/model/SensorConfig.java | 10 ++++++++-- .../overflow/module/sensorconfig/model/Target.java | 2 +- 3 files changed, 13 insertions(+), 5 deletions(-) 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