Skip to content

Commit

Permalink
♻️ set fields to private
Browse files Browse the repository at this point in the history
  • Loading branch information
hyxrxn committed Aug 4, 2024
1 parent c7cc819 commit 179713c
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ public class Comment {

@ManyToOne
@JoinColumn(name = "user_id")
User user;
private User user;

@ManyToOne
@JoinColumn(name = "recipe_id")
Recipe recipe;
private Recipe recipe;

String message;
private String message;

LocalDateTime createdAt;
private LocalDateTime createdAt;
}

0 comments on commit 179713c

Please sign in to comment.