Skip to content

Commit 8d5f4b2

Browse files
committed
feat: 사용자 프로필 수정 DTO 추가
1 parent 5abc38f commit 8d5f4b2

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package com.back.domain.profile.dto;
2+
3+
import jakarta.validation.constraints.Email;
4+
import jakarta.validation.constraints.Size;
5+
import lombok.Getter;
6+
import lombok.Setter;
7+
8+
@Getter
9+
@Setter
10+
public class ProfileUpdateRequestDto {
11+
12+
@Size(min = 1, max = 10, message = "닉네임은 1~10자")
13+
private String nickname;
14+
15+
@Email(message = "이메일 형식이 아닙니다")
16+
private String email;
17+
}

0 commit comments

Comments
 (0)