package nl.homeserver.energie;

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 javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnore;

import lombok.Getter;
import lombok.Setter;

/**
 * Bevat het opgenomen vermogen op een bepaald moment in tijd.
 */
@Entity
public class OpgenomenVermogen {

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

    @Column(nullable = false, unique = true)
    @Getter @Setter
    private LocalDateTime datumtijd;

    @NotNull
    @Getter @Setter
    private int watt;

    @NotNull
    private short tariefIndicator;

    public StroomTariefIndicator getTariefIndicator() {
        return StroomTariefIndicator.byId(this.tariefIndicator);
    }

    public void setTariefIndicator(StroomTariefIndicator tariefIndicator) {
        this.tariefIndicator = tariefIndicator.getId();
    }
}

@@ -568,36 +568,16 @@
 nIgnore%0A
-    @Getter @Setter%0A
     priv
@@ -589,16 +589,16 @@
 ong id;%0A
+
 %0A    @Co
@@ -638,32 +638,36 @@
 rue)%0A    @Getter
+%0A   
  @Setter%0A    pri
@@ -706,24 +706,24 @@
    @NotNull%0A
-
     @Getter 
@@ -721,16 +721,20 @@
  @Getter
+%0A   
  @Setter

Remove unneeded Lombok annotations