From e6b5c82016e8443845cb6d03143ae9e0e1719462 Mon Sep 17 00:00:00 2001 From: jo0oy Date: Fri, 15 Dec 2023 14:02:19 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=9C=A0=ED=9A=A8=EC=84=B1=20=EA=B2=80?= =?UTF-8?q?=EC=A6=9D=20=EC=83=81=EC=88=98=ED=99=94=20=ED=96=88=EB=8D=98=20?= =?UTF-8?q?=EA=B2=83=20Wrapper=20=ED=83=80=EC=9E=85=EC=9C=BC=EB=A1=9C=20?= =?UTF-8?q?=EC=9D=B8=ED=95=B4=20build=20=EC=97=90=EB=9F=AC=20->=20?= =?UTF-8?q?=EC=9B=90=EC=8B=9C=20=ED=83=80=EC=9E=85=EC=9C=BC=EB=A1=9C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../constant/ReservationProductValidationConstants.java | 2 +- .../domain/room/constant/RoomValidationConstants.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/fc/shimpyo_be/domain/reservationproduct/constant/ReservationProductValidationConstants.java b/src/main/java/com/fc/shimpyo_be/domain/reservationproduct/constant/ReservationProductValidationConstants.java index 20c3702..b7b2965 100644 --- a/src/main/java/com/fc/shimpyo_be/domain/reservationproduct/constant/ReservationProductValidationConstants.java +++ b/src/main/java/com/fc/shimpyo_be/domain/reservationproduct/constant/ReservationProductValidationConstants.java @@ -9,7 +9,7 @@ public class ReservationProductValidationConstants { // validation constraint value public static final String DATE_REGEX = "^\\d{4}-\\d{2}-\\d{2}$"; public static final String PHONE_NUMBER_REGEX = "^01(?:0|1|[6-9])-\\d{4}-\\d{4}$"; - public static final Integer PRICE_MIN_VALUE = 0; + public static final int PRICE_MIN_VALUE = 0; // validation message public static final String DATE_PATTERN_MESSAGE = "올바른 날짜 형식이 아닙니다.(yyyy-MM-dd 형식으로 입력하세요.)"; diff --git a/src/main/java/com/fc/shimpyo_be/domain/room/constant/RoomValidationConstants.java b/src/main/java/com/fc/shimpyo_be/domain/room/constant/RoomValidationConstants.java index 7db43a5..2807d7b 100644 --- a/src/main/java/com/fc/shimpyo_be/domain/room/constant/RoomValidationConstants.java +++ b/src/main/java/com/fc/shimpyo_be/domain/room/constant/RoomValidationConstants.java @@ -7,9 +7,9 @@ public class RoomValidationConstants { // validation constraint value - public static final Integer ROOM_REQ_MIN_SIZE = 1; - public static final Integer ROOM_REQ_MAX_SIZE = 3; - public static final Long ROOMID_MIN_VALUE = 1L; + public static final int ROOM_REQ_MIN_SIZE = 1; + public static final int ROOM_REQ_MAX_SIZE = 3; + public static final long ROOMID_MIN_VALUE = 1; // validation message public static final String ROOM_REQ_SIZE_MESSAGE = "최소 1개, 최대 3개의 객실 식별자 정보가 필요합니다.";