-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
src/main/java/com/j9/bestmoments/dto/request/MemberUpdateDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,21 @@ | ||
package com.j9.bestmoments.dto.request; | ||
|
||
import jakarta.validation.constraints.NotBlank; | ||
import jakarta.validation.constraints.NotNull; | ||
import jakarta.validation.constraints.Size; | ||
|
||
public record MemberUpdateDto ( | ||
|
||
@NotNull | ||
@NotBlank | ||
@Size(max = 20, message = "이름은 20자 이내로 입력해주세요.") | ||
String name, | ||
|
||
@NotNull | ||
@NotBlank | ||
@Size(max = 1000, message = "자기소개는 1000자 이내로 입력해주세요.") | ||
String description | ||
|
||
) { | ||
|
||
} |