package nl.homeserver.energie;

import java.math.BigDecimal;
import java.time.LocalDateTime;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

import com.fasterxml.jackson.annotation.JsonIgnore;

import lombok.Getter;
import lombok.Setter;

@Entity
public class Meterstand {

    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    @JsonIgnore
    @Getter @Setter
    private long id;

    @Column(nullable = false)
    @Getter @Setter
    private LocalDateTime dateTime;

    @Column(nullable = false, precision = 8, scale = 3)
    @Getter @Setter
    private BigDecimal stroomTarief1;

    @Column(nullable = false, precision = 8, scale = 3)
    @Getter @Setter
    private BigDecimal stroomTarief2;

    @Column(nullable = false, precision = 8, scale = 3)
    @Getter @Setter
    private BigDecimal gas;

    @Column(nullable = false, precision = 1)
    private short stroomTariefIndicator;

    public StroomTariefIndicator getStroomTariefIndicator() {
        return StroomTariefIndicator.byId(this.stroomTariefIndicator);
    }

    public void setStroomTariefIndicator(StroomTariefIndicator stroomTariefIndicator) {
        this.stroomTariefIndicator = stroomTariefIndicator.getId();
    }
}

@@ -474,36 +474,16 @@
 nIgnore%0A
-    @Getter @Setter%0A
     priv
@@ -495,16 +495,16 @@
 ong id;%0A
+
 %0A    @Co
@@ -529,32 +529,36 @@
 lse)%0A    @Getter
+%0A   
  @Setter%0A    pri
@@ -646,32 +646,36 @@
 = 3)%0A    @Getter
+%0A   
  @Setter%0A    pri
@@ -765,32 +765,36 @@
 = 3)%0A    @Getter
+%0A   
  @Setter%0A    pri
@@ -873,32 +873,32 @@
 = 8, scale = 3)%0A
-
     @Getter @Set
@@ -892,16 +892,20 @@
  @Getter
+%0A   
  @Setter

Remove unneeded Lombok annotations