From ea725b83b872d67e7dd881568fc3599cc37791e5 Mon Sep 17 00:00:00 2001 From: jyk1029 Date: Sat, 20 Jan 2024 18:27:29 +0900 Subject: [PATCH] chore :: message --- .../feed/presentation/dto/request/CreateFeedRequest.kt | 6 +++--- .../feed/presentation/dto/request/UpdateFeedRequest.kt | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/kotlin/com/example/boheom/domain/feed/presentation/dto/request/CreateFeedRequest.kt b/src/main/kotlin/com/example/boheom/domain/feed/presentation/dto/request/CreateFeedRequest.kt index 101b2cb..e40fb77 100644 --- a/src/main/kotlin/com/example/boheom/domain/feed/presentation/dto/request/CreateFeedRequest.kt +++ b/src/main/kotlin/com/example/boheom/domain/feed/presentation/dto/request/CreateFeedRequest.kt @@ -7,14 +7,14 @@ import javax.validation.constraints.Size data class CreateFeedRequest( @field:NotBlank(message = "null, 공백, 띄어쓰기를 허용하지 않습니다.") - @field:Size(max = 50, message = "최대 50자까지 가능합니다.") + @field:Size(max = 50, message = "50자까지 가능합니다.") val title: String, @field:NotBlank(message = "null, 공백, 띄어쓰기를 허용하지 않습니다.") - @field:Size(max = 500, message = "최대 500자까지 가능합니다.") + @field:Size(max = 500, message = "500자까지 가능합니다.") val content: String, - @field:Size(max = 10, message = "최대 15개까지 가능합니다.") + @field:Size(max = 10, message = "15개까지 가능합니다.") val tag: List, @field:NotNull(message = "null을 허용하지 않습니다.") diff --git a/src/main/kotlin/com/example/boheom/domain/feed/presentation/dto/request/UpdateFeedRequest.kt b/src/main/kotlin/com/example/boheom/domain/feed/presentation/dto/request/UpdateFeedRequest.kt index b98cb43..7a9aefb 100644 --- a/src/main/kotlin/com/example/boheom/domain/feed/presentation/dto/request/UpdateFeedRequest.kt +++ b/src/main/kotlin/com/example/boheom/domain/feed/presentation/dto/request/UpdateFeedRequest.kt @@ -6,13 +6,13 @@ import javax.validation.constraints.NotNull import javax.validation.constraints.Size data class UpdateFeedRequest( - @field:Size(max = 50, message = "최대 50자까지 가능합니다.") + @field:Size(max = 50, message = "50자까지 가능합니다.") val title: String, - @field:Size(max = 500, message = "최대 500자까지 가능합니다.") + @field:Size(max = 500, message = "500자까지 가능합니다.") val content: String, - @field:Size(max = 15, message = "최대 15자까지 가능합니다.") + @field:Size(max = 15, message = "15개까지 가능합니다.") val tag: List, val recruitment: Int,