Skip to content

Commit

Permalink
Lagrer de ansatte i AnsettelseLogg.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea-Devold-Fjeld committed Jul 31, 2024
1 parent 71459d5 commit 7cb2a80
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
package no.nav.registre.testnorge.levendearbeidsforholdansettelse.entity;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import jakarta.persistence.*;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.*;
Expand All @@ -22,7 +19,7 @@
@Table(name = "ansettelse_logg")
public class AnsettelseLogg {
@Id
@ColumnDefault("nextval('ansettelse_logg_id_seq'::regclass)")
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "id", nullable = false)
private Integer id;

Expand All @@ -36,9 +33,6 @@ public class AnsettelseLogg {
@Column(name = "folkeregisterident", nullable = false)
private String folkeregisterident;

@NotNull
@Column(name = "nav_arbeidsforhold_id", nullable = false)
private Long navArbeidsforholdId;

@NotNull
@Column(name = "\"timestamp\"", nullable = false)
Expand Down

0 comments on commit 7cb2a80

Please sign in to comment.