Skip to content

Commit

Permalink
[feat] #33 survey 결과 비교 api response dto 구현
Browse files Browse the repository at this point in the history
  • Loading branch information
RyuKwanKon committed Sep 16, 2023
1 parent 7b3497a commit 5210d2d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@
@Getter
public class SurveyResultResponseDto {
private int totalScore;
private String message;

public static SurveyResultResponseDto of(int totalScore){
public static SurveyResultResponseDto of(int totalScore, String message){
return SurveyResultResponseDto.builder()
.totalScore(totalScore)
.message(message)
.build();
}
}

0 comments on commit 5210d2d

Please sign in to comment.