Skip to content

Commit

Permalink
[Chore] #39 - LogCreateRequestDto 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
0lynny committed Jan 9, 2024
1 parent 4299cf8 commit 680318c
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,9 @@

import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import org.moonshot.server.domain.log.model.LogState;

public record LogCreateRequestDto(
//만들어둔 KeyResultModitfyRequest는 어디서 수정하는건지 .. ?
Long keyresultId,

@NotNull(message = "체크인 종류를 입력해주세요.")
LogState logState,
Long keyResultId,

@NotNull(message = "Log의 수치를 입력해주세요.")
@Size(min = 1, max = 30, message = "진척정도의 수치 값은 30자 이하여야 합니다.")
Expand Down

0 comments on commit 680318c

Please sign in to comment.