Skip to content

Commit ea79cc6

Browse files
committed
feat: 로그인 요청 DTO 구현
1 parent 1920e0c commit ea79cc6

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
package dmu.dasom.api.global.auth.dto;
2+
3+
import io.swagger.v3.oas.annotations.media.Schema;
4+
import jakarta.validation.constraints.Email;
5+
import jakarta.validation.constraints.NotNull;
6+
import lombok.Getter;
7+
8+
@Getter
9+
@Schema(description = "로그인 요청 DTO")
10+
public class LoginRequestDto {
11+
12+
@Email
13+
@NotNull
14+
@Schema(description = "이메일", example = "[email protected]")
15+
private String email;
16+
17+
@NotNull
18+
@Schema(description = "비밀번호", example = "password")
19+
private String password;
20+
21+
}

0 commit comments

Comments
 (0)