Skip to content

Commit

Permalink
fix: ImagemDto notacao not null
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiomsrs committed Jul 1, 2021
1 parent ba502fa commit c87ef93
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@

import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

public class ImagemDto {
@NotNull
@Size(min = 1)
List<MultipartFile> imagens;

Expand Down

0 comments on commit c87ef93

Please sign in to comment.