Skip to content

Commit

Permalink
fix: 컬럼명 수정
Browse files Browse the repository at this point in the history
fix: 컬럼명 수정
  • Loading branch information
yj-leez authored Dec 28, 2023
2 parents 5ac68c5 + 26858e8 commit 9a2844f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/main/java/wowmarket/wow_server/domain/DemandItem.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class DemandItem extends BaseEntity{
private int goal;

@ColumnDefault("0")
private int limit;
private int limits;

public void setDemandProject(DemandProject demandProject){
this.demandProject=demandProject;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/wowmarket/wow_server/domain/Item.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class Item {
private int goal;

@ColumnDefault("0")
private int limit; // 구매제한
private int limits; // 구매제한

public void setProject(Project project){
this.project = project;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ public class RegisterItemDto {
private String item_name;
private Long price;
private int goal;
private int limit;
private int limits;

@Builder
public Item toItemEntity(){
return Item.builder()
.name(item_name)
.price(price)
.goal(goal)
.limit(limit)
.limits(limits)
.build();
}

Expand All @@ -33,7 +33,7 @@ public DemandItem toDemandItemEntity(){
.name(item_name)
.price(price)
.goal(goal)
.limit(limit)
.limits(limits)
.build();
}
}

0 comments on commit 9a2844f

Please sign in to comment.