Added @Nullable to FullRecipeView.modified.

This commit is contained in:
Jesse Brault 2024-07-31 12:55:55 -05:00
parent 23d6f147c4
commit 4ca1a077a1

View File

@ -9,7 +9,7 @@ public class FullRecipeView {
private long id; private long id;
private LocalDateTime created; private LocalDateTime created;
private LocalDateTime modified; private @Nullable LocalDateTime modified;
private String slug; private String slug;
private String title; private String title;
private String text; private String text;
@ -35,11 +35,11 @@ public class FullRecipeView {
this.created = created; this.created = created;
} }
public LocalDateTime getModified() { public @Nullable LocalDateTime getModified() {
return this.modified; return this.modified;
} }
public void setModified(LocalDateTime modified) { public void setModified(@Nullable LocalDateTime modified) {
this.modified = modified; this.modified = modified;
} }