Skip to content

Commit

Permalink
[#40]✨Feat: 투자자 응답 dto 작성
Browse files Browse the repository at this point in the history
  • Loading branch information
sumin220 committed Nov 23, 2024
1 parent 62b0056 commit 04cb6f3
Showing 1 changed file with 28 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,32 @@ public record InvestmentResDto(
String position,
String phoneNumber,
String email,
Long boardId
Long boardId,
String boardTitle,
String boardContent,
int investmentCount
) {
}
public static InvestmentResDto
of(Long myMemberId,
String username,
String position,
String phoneNumber,
String email,
Long boardId,
String boardTitle,
String boardContent,
int investmentCount)

{
return new InvestmentResDto(
myMemberId,
username,
position,
phoneNumber,
email,
boardId,
boardTitle,
boardContent,
investmentCount);
}
}

0 comments on commit 04cb6f3

Please sign in to comment.