Skip to content

Commit

Permalink
[REFACTOR] MemberChallengeResponse NPE 대응
Browse files Browse the repository at this point in the history
  • Loading branch information
Chan531 committed Jun 27, 2024
1 parent e4486b7 commit 2126d2b
Showing 1 changed file with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,17 @@
import com.soptie.server.routine.entity.Challenge;
import com.soptie.server.theme.entity.Theme;

import lombok.NonNull;

public record MemberChallengeResponse(
Long id,
Long challengeId,
String routineContent,
String content,
String description,
String place,
String requiredTime,
Theme theme
long id,
long challengeId,
@NonNull String routineContent,
@NonNull String content,
@NonNull String description,
@NonNull String place,
@NonNull String requiredTime,
@NonNull Theme theme
) {

@QueryProjection
Expand Down

0 comments on commit 2126d2b

Please sign in to comment.