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