From fbef8144764890684ed81d7b9886cf8a076aae52 Mon Sep 17 00:00:00 2001 From: kwonssshyeon Date: Thu, 26 Sep 2024 15:40:30 +0900 Subject: [PATCH] =?UTF-8?q?[Fix]:=20=EC=B1=8C=EB=A6=B0=EC=A7=80=20?= =?UTF-8?q?=EB=A6=AC=EB=B7=B0=20not=20null=20=EC=B2=B4=ED=81=AC=20?= =?UTF-8?q?=EB=A9=94=EC=84=B8=EC=A7=80=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../challengereview/domain/ChallengeReviewCommand.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zzansuni-api-server/app/src/main/java/org/haedal/zzansuni/challengereview/domain/ChallengeReviewCommand.java b/zzansuni-api-server/app/src/main/java/org/haedal/zzansuni/challengereview/domain/ChallengeReviewCommand.java index 1fa0ec0..ce30ad6 100644 --- a/zzansuni-api-server/app/src/main/java/org/haedal/zzansuni/challengereview/domain/ChallengeReviewCommand.java +++ b/zzansuni-api-server/app/src/main/java/org/haedal/zzansuni/challengereview/domain/ChallengeReviewCommand.java @@ -20,12 +20,12 @@ public static class Create extends SelfValidating { @Max(5) private final Integer rating; - @NotNull(message = "평점은 필수입니다.") + @NotNull(message = "체감난이도는 필수입니다.") @Min(1) - @Max(5) + @Max(3) private final Integer difficulty; - @NotNull(message = "평점은 필수입니다.") + @NotNull(message = "성취도는 필수입니다.") @Min(1) @Max(3) private final Integer achievement;