Skip to content

Commit 1a24dea

Browse files
authored
Remove @notblank annotations from CreateBookRequest
Removed @notblank annotations from several fields in CreateBookRequest.
1 parent 33e815c commit 1a24dea

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/main/java/org/poolc/api/book/dto/request/CreateBookRequest.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,27 +22,21 @@ public class CreateBookRequest {
2222
@Size(max = 100)
2323
private String author;
2424

25-
@NotBlank
2625
@Size(max = 100)
2726
private String publisher;
2827

29-
@NotBlank
3028
@Size(max = 100)
3129
private String isbn;
3230

3331
private String description;
3432

35-
@NotBlank
3633
@Size(max = 100)
3734
private String pubdate;
3835

39-
@NotBlank
4036
private String image;
4137

42-
@NotNull
4338
private Integer discount;
4439

45-
@NotBlank
4640
private String link;
4741

4842
@Size(max = 100)

0 commit comments

Comments
 (0)