-
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.
Merge pull request #112 from team9502/dev
feat: ๋ก๊ทธ์ธ ์์ด ๊ธฐ์ (ํ์) ํ๋กํ ์กฐํ ๊ฐ๋ฅ ... ๋๋ฌด ๋ง์๋ฐ์ ๊ธฐ๋ฅ์ด
- Loading branch information
Showing
46 changed files
with
868 additions
and
207 deletions.
There are no files selected for viewing
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
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
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 |
---|---|---|
|
@@ -33,23 +33,29 @@ public class AuthController { | |
private final AuthService authService; | ||
|
||
@PostMapping("/signup") | ||
@Operation(summary = "๊ตฌ์ง์ ํ์ ๊ฐ์ ", description = "์๋ก์ด ์ฌ์ฉ์๋ฅผ ๋ฑ๋กํฉ๋๋ค. ๊ตฌ์ง์ ํ์๊ฐ์ ์ ๋๋ค.") | ||
@Operation(summary = "๊ตฌ์ง์ ํ์ ๊ฐ์ ", description = "์๋ก์ด ๊ตฌ์ง์ ์ฌ์ฉ์๋ฅผ ์์คํ ์ ๋ฑ๋กํฉ๋๋ค. ์ด๋ฉ์ผ ์ธ์ฆ์ด ์ ํ๋์ด์ผ ํฉ๋๋ค. ํ์๊ฐ์ ์ 300ํฌ์ธํธ๊ฐ ์ ๋ฆฝ๋ฉ๋๋ค.") | ||
@ApiResponses({ | ||
@ApiResponse(responseCode = "201", description = "๊ตฌ์ง์ ํ์ ๊ฐ์ ์ฑ๊ณต", | ||
content = @Content(mediaType = "application/json", | ||
examples = @ExampleObject(value = "{ \"code\": \"201\", \"message\": \"๊ตฌ์ง์ ํ์ ๊ฐ์ ์ฑ๊ณต\", \"data\": null }"))), | ||
@ApiResponse(responseCode = "400", description = "์ ํจ์ฑ ๊ฒ์ฌ ์คํจ", | ||
content = @Content(mediaType = "application/json", | ||
examples = @ExampleObject(value = "{ \"code\": \"400\", \"message\": \"์ ํจ์ฑ ๊ฒ์ฌ ์คํจ\", \"data\": null }"))), | ||
@ApiResponse(responseCode = "400", description = "์ด๋ฉ์ผ ์ธ์ฆ ํ์", | ||
content = @Content(mediaType = "application/json", | ||
examples = @ExampleObject(value = "{ \"code\": \"400\", \"message\": \"์ด๋ฉ์ผ ์ธ์ฆ ํ์\", \"data\": null }"))), | ||
examples = @ExampleObject(value = "{ \"message\": \"๊ตฌ์ง์ ํ์ ๊ฐ์ ์ฑ๊ณต\", \"data\": null }"))), | ||
@ApiResponse(responseCode = "400", description = "์์ฒญ ์ฒ๋ฆฌ ์ค ์ค๋ฅ ๋ฐ์", | ||
content = @Content(mediaType = "application/json", | ||
examples = { | ||
@ExampleObject(name = "EMAIL_VERIFICATION_NEEDED", summary = "์ด๋ฉ์ผ ์ธ์ฆ ํ์", | ||
value = "{\"message\": \"์ด๋ฉ์ผ ์ธ์ฆ์ด ํ์ํฉ๋๋ค.\", \"data\": null }"), | ||
@ExampleObject(name = "TERMS_AGREEMENT_NEEDED", summary = "์ฝ๊ด ๋์ ํ์", | ||
value = "{\"message\": \"์ฝ๊ด์ ๋์ํด์ผ ํฉ๋๋ค.\", \"data\": null }"), | ||
@ExampleObject(name = "PASSWORD_REQUIRED", summary = "๋น๋ฐ๋ฒํธ ์ ๋ ฅ ํ์", | ||
value = "{\"message\": \"๋น๋ฐ๋ฒํธ๋ฅผ ์ ๋ ฅํด์ฃผ์ธ์.\", \"data\": null }"), | ||
@ExampleObject(name = "PASSWORD_MISMATCH", summary = "๋น๋ฐ๋ฒํธ ๋ถ์ผ์น", | ||
value = "{\"message\": \"๋น๋ฐ๋ฒํธ์ ๋น๋ฐ๋ฒํธ ํ์ธ์ด ์ผ์นํ์ง ์์ต๋๋ค.\", \"data\": null }") | ||
})), | ||
@ApiResponse(responseCode = "409", description = "์ค๋ณต๋ ์ด๋ฉ์ผ", | ||
content = @Content(mediaType = "application/json", | ||
examples = @ExampleObject(value = "{ \"code\": \"409\", \"message\": \"์ค๋ณต๋ ์ด๋ฉ์ผ\", \"data\": null }"))), | ||
@ApiResponse(responseCode = "500", description = "์๋ฒ ์๋ฌ", | ||
examples = @ExampleObject(value = "{\"message\": \"์ค๋ณต๋ ์ด๋ฉ์ผ์ ๋๋ค.\", \"data\": null }"))), | ||
@ApiResponse(responseCode = "500", description = "๋ด๋ถ ์๋ฒ ์๋ฌ", | ||
content = @Content(mediaType = "application/json", | ||
examples = @ExampleObject(value = "{ \"code\": \"500\", \"message\": \"์๋ฒ ์๋ฌ\", \"data\": null }"))) | ||
examples = @ExampleObject(value = "{\"message\": \"๋ด๋ถ ์๋ฒ ์๋ฌ\", \"data\": null }"))) | ||
}) | ||
public ResponseEntity<GlobalApiResponse<Object>> signup( | ||
@RequestBody @Valid UserSignupRequestDTO requestDTO) { | ||
|
@@ -66,23 +72,29 @@ public ResponseEntity<GlobalApiResponse<Object>> signup( | |
} | ||
|
||
@PostMapping("/cp-signup") | ||
@Operation(summary = "๊ธฐ์ ํ์ ๊ฐ์ ", description = "์๋ก์ด ๊ธฐ์ ์ฌ์ฉ์๋ฅผ ๋ฑ๋กํฉ๋๋ค. ๊ธฐ์ (ํ์) ํ์๊ฐ์ ์ ๋๋ค.") | ||
@Operation(summary = "๊ธฐ์ ํ์ ๊ฐ์ ", description = "์๋ก์ด ๊ธฐ์ ์ฌ์ฉ์๋ฅผ ์์คํ ์ ๋ฑ๋กํฉ๋๋ค. ์ด๋ฉ์ผ ์ธ์ฆ์ด ์ ํ๋์ด์ผ ํฉ๋๋ค. ํ์๊ฐ์ ์ 300ํฌ์ธํธ๊ฐ ์ ๋ฆฝ๋ฉ๋๋ค.") | ||
@ApiResponses({ | ||
@ApiResponse(responseCode = "201", description = "๊ธฐ์ ํ์ ๊ฐ์ ์ฑ๊ณต", | ||
content = @Content(mediaType = "application/json", | ||
examples = @ExampleObject(value = "{ \"code\": \"201\", \"message\": \"๊ธฐ์ ํ์ ๊ฐ์ ์ฑ๊ณต\", \"data\": null }"))), | ||
@ApiResponse(responseCode = "400", description = "์ ํจ์ฑ ๊ฒ์ฌ ์คํจ", | ||
content = @Content(mediaType = "application/json", | ||
examples = @ExampleObject(value = "{ \"code\": \"400\", \"message\": \"์ ํจ์ฑ ๊ฒ์ฌ ์คํจ\", \"data\": null }"))), | ||
@ApiResponse(responseCode = "400", description = "์ด๋ฉ์ผ ์ธ์ฆ ํ์", | ||
content = @Content(mediaType = "application/json", | ||
examples = @ExampleObject(value = "{ \"code\": \"400\", \"message\": \"์ด๋ฉ์ผ ์ธ์ฆ ํ์\", \"data\": null }"))), | ||
examples = @ExampleObject(value = "{ \"message\": \"๊ธฐ์ ํ์ ๊ฐ์ ์ฑ๊ณต\", \"data\": null }"))), | ||
@ApiResponse(responseCode = "400", description = "์์ฒญ ์ฒ๋ฆฌ ์ค ์ค๋ฅ ๋ฐ์", | ||
content = @Content(mediaType = "application/json", | ||
examples = { | ||
@ExampleObject(name = "EMAIL_VERIFICATION_NEEDED", summary = "์ด๋ฉ์ผ ์ธ์ฆ ํ์", | ||
value = "{\"message\": \"์ด๋ฉ์ผ ์ธ์ฆ์ด ํ์ํฉ๋๋ค.\", \"data\": null }"), | ||
@ExampleObject(name = "TERMS_AGREEMENT_NEEDED", summary = "์ฝ๊ด ๋์ ํ์", | ||
value = "{\"message\": \"์ฝ๊ด์ ๋์ํด์ผ ํฉ๋๋ค.\", \"data\": null }"), | ||
@ExampleObject(name = "PASSWORD_REQUIRED", summary = "๋น๋ฐ๋ฒํธ ์ ๋ ฅ ํ์", | ||
value = "{\"message\": \"๋น๋ฐ๋ฒํธ๋ฅผ ์ ๋ ฅํด์ฃผ์ธ์.\", \"data\": null }"), | ||
@ExampleObject(name = "PASSWORD_MISMATCH", summary = "๋น๋ฐ๋ฒํธ ๋ถ์ผ์น", | ||
value = "{\"message\": \"๋น๋ฐ๋ฒํธ์ ๋น๋ฐ๋ฒํธ ํ์ธ์ด ์ผ์นํ์ง ์์ต๋๋ค.\", \"data\": null }") | ||
})), | ||
@ApiResponse(responseCode = "409", description = "์ค๋ณต๋ ์ด๋ฉ์ผ", | ||
content = @Content(mediaType = "application/json", | ||
examples = @ExampleObject(value = "{ \"code\": \"409\", \"message\": \"์ค๋ณต๋ ์ด๋ฉ์ผ\", \"data\": null }"))), | ||
@ApiResponse(responseCode = "500", description = "์๋ฒ ์๋ฌ", | ||
examples = @ExampleObject(value = "{\"message\": \"์ค๋ณต๋ ์ด๋ฉ์ผ์ ๋๋ค.\", \"data\": null }"))), | ||
@ApiResponse(responseCode = "500", description = "๋ด๋ถ ์๋ฒ ์๋ฌ", | ||
content = @Content(mediaType = "application/json", | ||
examples = @ExampleObject(value = "{ \"code\": \"500\", \"message\": \"์๋ฒ ์๋ฌ\", \"data\": null }"))) | ||
examples = @ExampleObject(value = "{\"message\": \"๋ด๋ถ ์๋ฒ ์๋ฌ\", \"data\": null }"))) | ||
}) | ||
public ResponseEntity<GlobalApiResponse<Object>> signupCompany( | ||
@RequestBody @Valid CpUserSignupRequestDTO requestDTO) { | ||
|
@@ -98,17 +110,17 @@ public ResponseEntity<GlobalApiResponse<Object>> signupCompany( | |
} | ||
|
||
@PostMapping("/login") | ||
@Operation(summary = "๊ตฌ์ง์ ๋ก๊ทธ์ธ", description = "์ฌ์ฉ์๊ฐ ์ด๋ฉ์ผ๋ก ๋ก๊ทธ์ธํฉ๋๋ค.") | ||
@Operation(summary = "๊ตฌ์ง์(์ฌ์ฉ์) ๋ก๊ทธ์ธ", description = "์ฌ์ฉ์๊ฐ ์ด๋ฉ์ผ๋ก ๋ก๊ทธ์ธํฉ๋๋ค. ์ผ๋ฐ ๋ก๊ทธ์ธ์ ๋๋ค.") | ||
@ApiResponses({ | ||
@ApiResponse(responseCode = "200", description = "๋ก๊ทธ์ธ ์ฑ๊ณต", | ||
content = @Content(mediaType = "application/json", | ||
examples = @ExampleObject(value = "{ \"code\": \"200\", \"message\": \"๋ก๊ทธ์ธ ์ฑ๊ณต\", \"data\": null }"))), | ||
@ApiResponse(responseCode = "400", description = "๋ก๊ทธ์ธ ์คํจ", | ||
examples = @ExampleObject(value = "{ \"message\": \"๋ก๊ทธ์ธ ์ฑ๊ณต\", \"data\": {\"userId\": 1, \"username\": \"๊น์์ฑ\", \"nickname\": \"๋๊ตฌ์ด์ก์ด\", \"email\": \"[email protected]\", \"phoneNumber\": null, \"loginType\": \"NORMAL\"} }"))), | ||
@ApiResponse(responseCode = "404", description = "๋ฏธ์กด์ฌ ์ฌ์ฉ์", | ||
content = @Content(mediaType = "application/json", | ||
examples = @ExampleObject(value = "{ \"code\": \"400\", \"message\": \"๋ก๊ทธ์ธ ์คํจ\", \"data\": null }"))), | ||
examples = @ExampleObject(value = "{\"message\": \"์ฌ์ฉ์๋ฅผ ์ฐพ์ ์ ์์ต๋๋ค.\", \"data\": null }"))), | ||
@ApiResponse(responseCode = "500", description = "์๋ฒ ์๋ฌ", | ||
content = @Content(mediaType = "application/json", | ||
examples = @ExampleObject(value = "{ \"code\": \"500\", \"message\": \"์๋ฒ ์๋ฌ\", \"data\": null }"))) | ||
examples = @ExampleObject(value = "{ \"message\": \"์๋ฒ ์๋ฌ\", \"data\": null }"))) | ||
}) | ||
public ResponseEntity<GlobalApiResponse<UserLoginResponseDTO>> login( | ||
@RequestBody @Valid UserLoginRequestDTO requestDTO) { | ||
|
@@ -129,13 +141,13 @@ public ResponseEntity<GlobalApiResponse<UserLoginResponseDTO>> login( | |
@ApiResponses({ | ||
@ApiResponse(responseCode = "200", description = "๋ก๊ทธ์ธ ์ฑ๊ณต", | ||
content = @Content(mediaType = "application/json", | ||
examples = @ExampleObject(value = "{ \"code\": \"200\", \"message\": \"๋ก๊ทธ์ธ ์ฑ๊ณต\", \"data\": null }"))), | ||
@ApiResponse(responseCode = "400", description = "๋ก๊ทธ์ธ ์คํจ", | ||
examples = @ExampleObject(value = "{ \"message\": \"๋ก๊ทธ์ธ ์ฑ๊ณต\", \"data\": {\"cpUserId\": 1, \"cpUsername\": \"๊น๊ณ ์์ด\", \"cpName\": \"๊ณ ์์ดํํ๋ฃจ\", \"cpEmail\": \"[email protected]\", \"cpPhoneNumber\": \"01012345678\", \"hiringStatus\": true, \"employeeCount\": 10} }"))), | ||
@ApiResponse(responseCode = "404", description = "๋ฏธ์กด์ฌ ์ฌ์ฉ์", | ||
content = @Content(mediaType = "application/json", | ||
examples = @ExampleObject(value = "{ \"code\": \"400\", \"message\": \"๋ก๊ทธ์ธ ์คํจ\", \"data\": null }"))), | ||
examples = @ExampleObject(value = "{\"message\": \"๊ธฐ์ (ํ์)์ ์ฐพ์ ์ ์์ต๋๋ค.\", \"data\": null }"))), | ||
@ApiResponse(responseCode = "500", description = "์๋ฒ ์๋ฌ", | ||
content = @Content(mediaType = "application/json", | ||
examples = @ExampleObject(value = "{ \"code\": \"500\", \"message\": \"์๋ฒ ์๋ฌ\", \"data\": null }"))) | ||
examples = @ExampleObject(value = "{ \"message\": \"์๋ฒ ์๋ฌ\", \"data\": null }"))) | ||
}) | ||
public ResponseEntity<GlobalApiResponse<CompanyUserLoginResponseDTO>> cpLogin( | ||
@RequestBody @Valid CompanyUserLoginRequestDTO requestDTO) { | ||
|
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,5 +1,6 @@ | ||
package team9502.sinchulgwinong.domain.auth.dto.request; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import jakarta.validation.constraints.NotBlank; | ||
import lombok.AccessLevel; | ||
import lombok.Builder; | ||
|
@@ -10,9 +11,11 @@ | |
@NoArgsConstructor(access = AccessLevel.PROTECTED) | ||
public class CompanyUserLoginRequestDTO { | ||
|
||
@Schema(description = "์ด๋ฉ์ผ", example = "[email protected]") | ||
@NotBlank(message = "ํ์ ์ ๋ ฅ์ ๋๋ค.") | ||
private String cpEmail; | ||
|
||
@Schema(description = "๋น๋ฐ๋ฒํธ", example = "Password1!") | ||
@NotBlank(message = "ํ์ ์ ๋ ฅ์ ๋๋ค.") | ||
private String cpPassword; | ||
|
||
|
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 |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
import io.swagger.v3.oas.annotations.media.Schema; | ||
import jakarta.validation.constraints.NotBlank; | ||
import jakarta.validation.constraints.NotNull; | ||
import jakarta.validation.constraints.Pattern; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
|
||
|
@@ -40,15 +41,18 @@ public class CpUserSignupRequestDTO { | |
private String cpUsername; | ||
|
||
@NotBlank(message = "ํ์ฌ ์ด๋ฉ์ผ์ ์ ๋ ฅํด์ฃผ์ธ์.") | ||
@Pattern(regexp = "^[a-zA-Z0-9]+@[a-zA-Z0-9]+(\\.[a-zA-Z]{2,})+$", message = "์ ํจํ ์ด๋ฉ์ผ ์ฃผ์๋ฅผ ์ ๋ ฅํด์ฃผ์ธ์.") | ||
@Schema(description = "ํ์ฌ ์ด๋ฉ์ผ", example = "[email protected]") | ||
private String cpEmail; | ||
|
||
@NotBlank(message = "ํ์ฌ ์ ํ๋ฒํธ๋ฅผ ์ ๋ ฅํด์ฃผ์ธ์.") | ||
@Schema(description = "ํ์ฌ ์ ํ๋ฒํธ", example = "01012345678") | ||
private String cpPhoneNumber; | ||
|
||
@NotBlank(message = "ํ์ฌ ๋น๋ฐ๋ฒํธ๋ฅผ ์ ๋ ฅํด์ฃผ์ธ์.") | ||
@Schema(description = "ํ์ฌ ๋น๋ฐ๋ฒํธ", example = "password") | ||
@NotBlank(message = "๋น๋ฐ๋ฒํธ๋ฅผ ์ ๋ ฅํด์ฃผ์ธ์.") | ||
@Pattern(regexp = "^(?=.*[A-Za-z])(?=.*\\d)(?=.*[@$!%*?&])[A-Za-z\\d@$!%*?&]{8,}$" | ||
, message = "๋น๋ฐ๋ฒํธ๋ ์ต์ 8์๋ฆฌ์ด๋ฉฐ, ์ํ๋ฒณ, ์ซ์, ํน์๋ฌธ์๋ฅผ ํฌํจํด์ผ ํฉ๋๋ค.") | ||
@Schema(description = "๋น๋ฐ๋ฒํธ", example = "password") | ||
private String cpPassword; | ||
|
||
@NotBlank(message = "๋น๋ฐ๋ฒํธ ํ์ธ์ ์ ๋ ฅํด์ฃผ์ธ์.") | ||
|
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,5 +1,6 @@ | ||
package team9502.sinchulgwinong.domain.auth.dto.request; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import jakarta.validation.constraints.NotBlank; | ||
import lombok.AccessLevel; | ||
import lombok.Builder; | ||
|
@@ -10,9 +11,11 @@ | |
@NoArgsConstructor(access = AccessLevel.PROTECTED) | ||
public class UserLoginRequestDTO { | ||
|
||
@Schema(description = "์ด๋ฉ์ผ", example = "[email protected]") | ||
@NotBlank(message = "ํ์ ์ ๋ ฅ์ ๋๋ค.") | ||
private String email; | ||
|
||
@Schema(description = "๋น๋ฐ๋ฒํธ", example = "Password1!") | ||
@NotBlank(message = "ํ์ ์ ๋ ฅ์ ๋๋ค.") | ||
private String password; | ||
|
||
|
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 |
---|---|---|
|
@@ -2,10 +2,11 @@ | |
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import jakarta.validation.constraints.NotBlank; | ||
import jakarta.validation.constraints.Pattern; | ||
import lombok.Data; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
import team9502.sinchulgwinong.domain.user.enums.LoginType; | ||
import team9502.sinchulgwinong.domain.oauth.enums.SocialType; | ||
|
||
@Getter | ||
@NoArgsConstructor | ||
|
@@ -20,23 +21,26 @@ public class UserSignupRequestDTO { | |
private String nickname; | ||
|
||
@NotBlank(message = "๋น๋ฐ๋ฒํธ๋ฅผ ์ ๋ ฅํด์ฃผ์ธ์.") | ||
@Pattern(regexp = "^(?=.*[A-Za-z])(?=.*\\d)(?=.*[@$!%?&])[A-Za-z\\d@$!%*?&]{8,}$", | ||
message = "๋น๋ฐ๋ฒํธ๋ ์ต์ 8์๋ฆฌ์ด๋ฉฐ, ์ํ๋ฒณ, ์ซ์, ํน์๋ฌธ์๋ฅผ ํฌํจํด์ผ ํฉ๋๋ค.") | ||
@Schema(description = "๋น๋ฐ๋ฒํธ", example = "password") | ||
private String password; | ||
|
||
@NotBlank(message = "๋น๋ฐ๋ฒํธ ํ์ธ์ ์ ๋ ฅํด์ฃผ์ธ์.") | ||
@Schema(description = "๋น๋ฐ๋ฒํธ ํ์ธ", example = "password") | ||
@Schema(description = "๋น๋ฐ๋ฒํธ ํ์ธ", example = "Password1!") | ||
private String confirmPassword; | ||
|
||
@NotBlank(message = "์ด๋ฉ์ผ์ ์ ๋ ฅํด์ฃผ์ธ์.") | ||
@Pattern(regexp = "^[a-zA-Z0-9]+@[a-zA-Z0-9]+(\\.[a-zA-Z]{2,})+$", message = "์ ํจํ ์ด๋ฉ์ผ ์ฃผ์๋ฅผ ์ ๋ ฅํด์ฃผ์ธ์.") | ||
@Schema(description = "์ด๋ฉ์ผ ์ฃผ์", example = "[email protected]") | ||
private String email; | ||
|
||
@Schema(description = "์ ํ๋ฒํธ", example = "01012345678") | ||
private String phoneNumber; | ||
|
||
@Schema(description = "๋ก๊ทธ์ธ ์ ํ", example = "EMAIL") | ||
private LoginType loginType; | ||
|
||
@Schema(description = "์ฝ๊ด ๋์ ์ฌ๋ถ", example = "true") | ||
private boolean agreeToTerms; | ||
|
||
@Schema(description = "๋ก๊ทธ์ธ ํ์ ", example = "GOOGLE") | ||
private SocialType loginType; | ||
} |
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
Oops, something went wrong.