diff --git a/src/main/java/cat/udl/eps/softarch/demo/domain/ShelterCertificate.java b/src/main/java/cat/udl/eps/softarch/demo/domain/ShelterCertificate.java index 9d50754..9e18147 100644 --- a/src/main/java/cat/udl/eps/softarch/demo/domain/ShelterCertificate.java +++ b/src/main/java/cat/udl/eps/softarch/demo/domain/ShelterCertificate.java @@ -13,7 +13,6 @@ @EqualsAndHashCode(callSuper = false) public class ShelterCertificate { @OneToOne - @NotNull @JsonIdentityReference(alwaysAsId = true) private Shelter shelter; @@ -21,7 +20,6 @@ public class ShelterCertificate { @GeneratedValue(strategy = GenerationType.AUTO) private Long id; - @NotNull private LocalDateTime expirationDate; }