Skip to content

Commit

Permalink
Merge pull request #18 from SOPT-32ND-APP2-Myhouse/hotfix/#16
Browse files Browse the repository at this point in the history
엔티티 변수 값 변경
  • Loading branch information
GaHee99 authored May 19, 2023
2 parents 43f6b34 + 8512582 commit f33461b
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 f33461b

Please sign in to comment.