Skip to content

Commit

Permalink
-m "[fix/#16] Change entity variable"
Browse files Browse the repository at this point in the history
:
  • Loading branch information
GaHee99 committed May 19, 2023
1 parent 5766e91 commit 8512582
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main/java/org/sopt/myhouse/entity/Scrap.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ public class Scrap {

@ManyToOne( fetch = FetchType.LAZY)
@JoinColumn (name = "FOLDER_ID")
private Folder folder_id;
private Folder folder;

private String image_url;

private Scrap(Folder folder_id, String image_url){
this.folder_id = folder_id;
private Scrap(Folder folder, String image_url){
this.folder = folder;
this.image_url = image_url;
}
public static Scrap newInstance(Folder folder_id, String image_url){
return new Scrap(folder_id,image_url);
public static Scrap newInstance(Folder folder, String image_url){
return new Scrap(folder,image_url);
}
}

0 comments on commit 8512582

Please sign in to comment.