Skip to content

Commit

Permalink
Updated LabelDTO.java
Browse files Browse the repository at this point in the history
  • Loading branch information
alina tarasova committed Apr 27, 2024
1 parent 8c81efa commit d9dc3e7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/hexlet/code/dto/labels/LabelDTO.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package hexlet.code.dto.labels;

import com.fasterxml.jackson.annotation.JsonFormat;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

Expand All @@ -12,7 +11,6 @@ public class LabelDTO {

private long id;

@NotNull
private String name;

@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
Expand Down

0 comments on commit d9dc3e7

Please sign in to comment.