From 26858e8e3a3c00d5567ff16ff381f8aaf9918935 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98yj-leez=E2=80=99?= Date: Thu, 28 Dec 2023 22:49:45 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=BB=AC=EB=9F=BC=EB=AA=85=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/wowmarket/wow_server/domain/DemandItem.java | 2 +- src/main/java/wowmarket/wow_server/domain/Item.java | 2 +- .../wowmarket/wow_server/register/dto/RegisterItemDto.java | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/wowmarket/wow_server/domain/DemandItem.java b/src/main/java/wowmarket/wow_server/domain/DemandItem.java index d736ffb..eb7c5f4 100644 --- a/src/main/java/wowmarket/wow_server/domain/DemandItem.java +++ b/src/main/java/wowmarket/wow_server/domain/DemandItem.java @@ -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; diff --git a/src/main/java/wowmarket/wow_server/domain/Item.java b/src/main/java/wowmarket/wow_server/domain/Item.java index fa21fc1..9d33e91 100644 --- a/src/main/java/wowmarket/wow_server/domain/Item.java +++ b/src/main/java/wowmarket/wow_server/domain/Item.java @@ -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; diff --git a/src/main/java/wowmarket/wow_server/register/dto/RegisterItemDto.java b/src/main/java/wowmarket/wow_server/register/dto/RegisterItemDto.java index 760029b..173bd3d 100644 --- a/src/main/java/wowmarket/wow_server/register/dto/RegisterItemDto.java +++ b/src/main/java/wowmarket/wow_server/register/dto/RegisterItemDto.java @@ -15,7 +15,7 @@ public class RegisterItemDto { private String item_name; private Long price; private int goal; - private int limit; + private int limits; @Builder public Item toItemEntity(){ @@ -23,7 +23,7 @@ public Item toItemEntity(){ .name(item_name) .price(price) .goal(goal) - .limit(limit) + .limits(limits) .build(); } @@ -33,7 +33,7 @@ public DemandItem toDemandItemEntity(){ .name(item_name) .price(price) .goal(goal) - .limit(limit) + .limits(limits) .build(); } }