Skip to content

Commit

Permalink
Merge pull request #24 from MOKY4/develop
Browse files Browse the repository at this point in the history
feat: convert nickname length policy from 3 to 5
  • Loading branch information
CokeLee777 committed Aug 6, 2023
2 parents 1dfd19a + fc330b1 commit 59fd704
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ data class CreateTestResponseRequest(
val testResponseDetails: List<CreateTestResponseDetailRequest>)

data class CreateUserRequest(
@field:Size(min = 1, max = 3, message = "사용자 이름은 최소 1글자 최대 3글자까지 가능합니다.")
@field:Size(min = 1, max = 5, message = "사용자 이름은 최소 1글자 최대 5글자까지 가능합니다.")
val name: String)

data class CreateTestResponseDetailRequest(
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/swyg/hollang/entity/User.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import swyg.hollang.entity.common.BaseTimeEntity
@Entity
class User (

@Column(name = "name", nullable = false, length = 3)
@Column(name = "name", nullable = false, length = 5)
val name: String,

) : BaseTimeEntity() {
Expand Down

0 comments on commit 59fd704

Please sign in to comment.