Skip to content

Commit d17ac7a

Browse files
Fix:Label
1 parent f4c58d7 commit d17ac7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/hexlet/code/model/Label.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ public class Label {
3030

3131
@Id
3232
@GeneratedValue(strategy = GenerationType.IDENTITY)
33+
@EqualsAndHashCode.Include
3334
private Long id;
3435

3536
@NotBlank
@@ -40,7 +41,6 @@ public class Label {
4041

4142
@CreatedDate
4243
@Column(nullable = false, updatable = false)
43-
@EqualsAndHashCode.Include
4444
private LocalDate createdAt;
4545

4646
//разные метки назначены разным задачам (полагаю метки уникальные)

0 commit comments

Comments
 (0)