Skip to content

Commit

Permalink
SMHE-832: Lombok data objects
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre Bolder committed Jun 24, 2022
1 parent 6b0e7f3 commit 57f3fd8
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package org.opensmartgridplatform.domain.smartmetering.config;

import lombok.Data;

@Data
public class Attribute {
public int id;
public String description;
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 57f3fd8

Please sign in to comment.