Skip to content

Commit

Permalink
SCRUM-49 feat: auth dto 작성
Browse files Browse the repository at this point in the history
  • Loading branch information
yeopyeop-82 committed Aug 12, 2024
1 parent 5536f61 commit aab24d8
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
package com.kakaoteck.golagola.domain.auth.dto;

public record AuthRequest() {
public record AuthRequest(
String email,
String password
) {
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
package com.kakaoteck.golagola.domain.auth.dto;

public class AuthResponse {
}
import lombok.Builder;

@Builder
public record AuthResponse(
String accessToken,
String refreshToken
) {
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
package com.kakaoteck.golagola.domain.auth.dto;

public class JoinUserRequest {
import com.kakaoteck.golagola.global.common.enums.Role;

import java.time.LocalDate;

public record JoinUserRequest(
String email,
String password,
String nickname,
String gender,
LocalDate birthDate,
Role role
) {
}

0 comments on commit aab24d8

Please sign in to comment.