Skip to content

Commit

Permalink
feat/#331 : GetAnalysisRequest 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
LJH098 committed Jun 30, 2024
1 parent 1181e73 commit 8c10ae8
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
package com.gaebaljip.exceed.dto.request;

import com.gaebaljip.exceed.common.ValidationMessage;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

public record GetAnalysisRequest(Long memberId, LocalDateTime date) {}
public record GetAnalysisRequest(@NotNull(message = "memberId을" + ValidationMessage.NOT_NULL) Long memberId,
@NotNull(message = "날짜를 " + ValidationMessage.NOT_NULL) LocalDateTime date) {}

0 comments on commit 8c10ae8

Please sign in to comment.