From 649310ba68b9dddbef6b567062d423afbbffb4b5 Mon Sep 17 00:00:00 2001 From: SongJaeHoonn Date: Mon, 30 Dec 2024 23:13:48 +0900 Subject: [PATCH] =?UTF-8?q?refactor(messages):=20=EA=B2=80=EC=A6=9D=20?= =?UTF-8?q?=EB=A9=94=EC=8B=9C=EC=A7=80=20=ED=94=84=EB=A1=9C=ED=8D=BC?= =?UTF-8?q?=ED=8B=B0=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../application/dto/request/ExecutiveRequestDto.java | 4 ++-- src/main/resources/messages.properties | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/main/java/page/clab/api/domain/memberManagement/executive/application/dto/request/ExecutiveRequestDto.java b/src/main/java/page/clab/api/domain/memberManagement/executive/application/dto/request/ExecutiveRequestDto.java index 459e54b4b..e566fd2f7 100644 --- a/src/main/java/page/clab/api/domain/memberManagement/executive/application/dto/request/ExecutiveRequestDto.java +++ b/src/main/java/page/clab/api/domain/memberManagement/executive/application/dto/request/ExecutiveRequestDto.java @@ -9,7 +9,7 @@ @Setter public class ExecutiveRequestDto { - @NotNull(message = "{notNull.executive.id}") + @NotNull(message = "{notNull.executive.executiveId}") @Schema(description = "학번", example = "202310000") private String executiveId; @@ -21,7 +21,7 @@ public class ExecutiveRequestDto { @Schema(description = "이메일", example = "clab.coreteam@gamil.com") private String email; - @NotNull(message = "{notNull.executive.field}") + @NotNull(message = "{notNull.executive.interests}") @Schema(description = "분야", example = "Back-End") private String interests; diff --git a/src/main/resources/messages.properties b/src/main/resources/messages.properties index e91ff3261..cfb1ad445 100644 --- a/src/main/resources/messages.properties +++ b/src/main/resources/messages.properties @@ -193,9 +193,8 @@ notNull.workExperience.companyName=회사명은 필수 입력 항목입니다. notNull.workExperience.position=직책은 필수 입력 항목입니다. notNull.workExperience.startDate=시작일은 필수 입력 항목입니다. notNull.workExperience.endDate=종료일은 필수 입력 항목입니다. -notNull.executive.id=학번은 필수 입력 항목입니다. +notNull.executive.executiveId=학번은 필수 입력 항목입니다. notNull.executive.name=이름은 필수 입력 항목입니다. notNull.executive.email=이메일은 필수 입력 항목입니다. -notNull.executive.field=분야는 필수 입력 항목입니다. -notNull.executive.position=직급은 필수 입력 항목입니다. +notNull.executive.interests=분야는 필수 입력 항목입니다. invalid.activityGroupBoard.dueDateTime=마감일자는 현재 시간 이후로 설정되어야 합니다. \ No newline at end of file