-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEAT] #86 - 선배 상세 프로필 조회 API 구현
- Loading branch information
Showing
3 changed files
with
47 additions
and
0 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
25 changes: 25 additions & 0 deletions
25
src/main/java/org/sopt/seonyakServer/domain/senior/dto/SeniorProfileResponse.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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package org.sopt.seonyakServer.domain.senior.dto; | ||
|
||
public record SeniorProfileResponse( | ||
String level, | ||
String career, | ||
String award, | ||
String catchphrase, | ||
String story | ||
) { | ||
public static SeniorProfileResponse of( | ||
final String level, | ||
final String career, | ||
final String award, | ||
final String catchphrase, | ||
final String story | ||
) { | ||
return new SeniorProfileResponse( | ||
level, | ||
career, | ||
award, | ||
catchphrase, | ||
story | ||
); | ||
} | ||
} |
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