Skip to content

Commit

Permalink
[ADD] Remove NotNull
Browse files Browse the repository at this point in the history
  • Loading branch information
diegogliarte committed Apr 5, 2024
1 parent da29089 commit c3b1653
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,13 @@
@EqualsAndHashCode(callSuper = false)
public class ShelterCertificate {
@OneToOne
@NotNull
@JsonIdentityReference(alwaysAsId = true)
private Shelter shelter;

@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private Long id;

@NotNull
private LocalDateTime expirationDate;

}

0 comments on commit c3b1653

Please sign in to comment.