Skip to content

Commit

Permalink
feat/#331 : MonthlyMeal 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
LJH098 committed Jun 30, 2024
1 parent 8c10ae8 commit 832d71c
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 MonthlyMeal(Long memberId, LocalDateTime date) {}
public record MonthlyMeal(@NotNull(message = "memberId을 " + ValidationMessage.NOT_NULL) Long memberId,
@NotNull(message = "날짜를 " + ValidationMessage.NOT_NULL) LocalDateTime date) {}

0 comments on commit 832d71c

Please sign in to comment.