diff --git a/src/main/java/leets/weeth/domain/file/application/dto/request/FileUpdateRequest.java b/src/main/java/leets/weeth/domain/file/application/dto/request/FileUpdateRequest.java index 08679460..51544cf6 100644 --- a/src/main/java/leets/weeth/domain/file/application/dto/request/FileUpdateRequest.java +++ b/src/main/java/leets/weeth/domain/file/application/dto/request/FileUpdateRequest.java @@ -1,10 +1,11 @@ package leets.weeth.domain.file.application.dto.request; import jakarta.validation.constraints.NotBlank; +import jakarta.validation.constraints.NotNull; import org.hibernate.validator.constraints.URL; public record FileUpdateRequest( - @NotBlank Long fileId, + @NotNull Long fileId, @NotBlank String fileName, @NotBlank @URL String fileUrl ) {