Skip to content

Commit

Permalink
Boolean not null
Browse files Browse the repository at this point in the history
-Mario Fernandez
-Àlex Codina
  • Loading branch information
Codinab committed Mar 7, 2024
1 parent f9fa2c5 commit dd7656c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/cat/udl/eps/softarch/demo/domain/Adoption.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import jakarta.persistence.*;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

Expand All @@ -19,7 +20,7 @@ public class Adoption extends UriEntity<Long> {
@NotBlank
private String type;

@NotBlank
@NotNull
private Boolean confirmed;

@NotBlank
Expand Down

0 comments on commit dd7656c

Please sign in to comment.