diff --git a/src/main/java/com/loafle/overflow/model/data/Metric.java b/src/main/java/com/loafle/overflow/model/data/Metric.java index bd224f3..82d2618 100644 --- a/src/main/java/com/loafle/overflow/model/data/Metric.java +++ b/src/main/java/com/loafle/overflow/model/data/Metric.java @@ -7,7 +7,44 @@ import java.util.Map; * Metric */ public class Metric { - public String sensorConfigID; - public Map data; - public Date collectDate; + private String sensorConfigID; + private Map data; + private Date collectDate; + + /** + * @return the sensorConfigID + */ + public String getSensorConfigID() { + return sensorConfigID; + } + /** + * @param sensorConfigID the sensorConfigID to set + */ + public void setSensorConfigID(String sensorConfigID) { + this.sensorConfigID = sensorConfigID; + } + /** + * @return the data + */ + public Map getData() { + return data; + } + /** + * @param data the data to set + */ + public void setData(Map data) { + this.data = data; + } + /** + * @return the collectDate + */ + public Date getCollectDate() { + return collectDate; + } + /** + * @param collectDate the collectDate to set + */ + public void setCollectDate(Date collectDate) { + this.collectDate = collectDate; + } } \ No newline at end of file