diff --git a/osgp/platform/osgp-domain-smartmetering/src/main/java/org/opensmartgridplatform/domain/smartmetering/config/Attribute.java b/osgp/platform/osgp-domain-smartmetering/src/main/java/org/opensmartgridplatform/domain/smartmetering/config/Attribute.java index a4dfba6e3f2..b38b8a33b5a 100644 --- a/osgp/platform/osgp-domain-smartmetering/src/main/java/org/opensmartgridplatform/domain/smartmetering/config/Attribute.java +++ b/osgp/platform/osgp-domain-smartmetering/src/main/java/org/opensmartgridplatform/domain/smartmetering/config/Attribute.java @@ -1,5 +1,8 @@ package org.opensmartgridplatform.domain.smartmetering.config; +import lombok.Data; + +@Data public class Attribute { public int id; public String description; diff --git a/osgp/platform/osgp-domain-smartmetering/src/main/java/org/opensmartgridplatform/domain/smartmetering/config/CosumObject.java b/osgp/platform/osgp-domain-smartmetering/src/main/java/org/opensmartgridplatform/domain/smartmetering/config/CosumObject.java index 37881b30298..f891a4f3632 100644 --- a/osgp/platform/osgp-domain-smartmetering/src/main/java/org/opensmartgridplatform/domain/smartmetering/config/CosumObject.java +++ b/osgp/platform/osgp-domain-smartmetering/src/main/java/org/opensmartgridplatform/domain/smartmetering/config/CosumObject.java @@ -1,5 +1,10 @@ package org.opensmartgridplatform.domain.smartmetering.config; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.ArrayList; +import lombok.Data; + +@Data public class CosumObject { public String tag; public String description; diff --git a/osgp/platform/osgp-domain-smartmetering/src/main/java/org/opensmartgridplatform/domain/smartmetering/config/MeterConfig.java b/osgp/platform/osgp-domain-smartmetering/src/main/java/org/opensmartgridplatform/domain/smartmetering/config/MeterConfig.java index 3ed34bfb0d5..994ef6e568d 100644 --- a/osgp/platform/osgp-domain-smartmetering/src/main/java/org/opensmartgridplatform/domain/smartmetering/config/MeterConfig.java +++ b/osgp/platform/osgp-domain-smartmetering/src/main/java/org/opensmartgridplatform/domain/smartmetering/config/MeterConfig.java @@ -1,7 +1,9 @@ package org.opensmartgridplatform.domain.smartmetering.config; import java.util.ArrayList; +import lombok.Data; +@Data public class MeterConfig { public String profile; public String version; diff --git a/osgp/platform/osgp-domain-smartmetering/src/main/java/org/opensmartgridplatform/domain/smartmetering/config/Setting.java b/osgp/platform/osgp-domain-smartmetering/src/main/java/org/opensmartgridplatform/domain/smartmetering/config/Setting.java index 8aeaa42f324..b00289c69fd 100644 --- a/osgp/platform/osgp-domain-smartmetering/src/main/java/org/opensmartgridplatform/domain/smartmetering/config/Setting.java +++ b/osgp/platform/osgp-domain-smartmetering/src/main/java/org/opensmartgridplatform/domain/smartmetering/config/Setting.java @@ -1,5 +1,9 @@ package org.opensmartgridplatform.domain.smartmetering.config; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.Data; + +@Data public class Setting { @JsonProperty("firmware update type") public String firmwareUpdateType;