Skip to content

Commit

Permalink
add name to TaskDTO.assigneeId json property
Browse files Browse the repository at this point in the history
  • Loading branch information
sergi-Jr committed Jun 26, 2024
1 parent 75492d2 commit 20e4812
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/hexlet/code/app/task/dto/TaskDTO.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package hexlet.code.app.task.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;

Expand All @@ -13,6 +14,7 @@ public class TaskDTO {
private int index;
private LocalDate createdAt;
private String title;
@JsonProperty("assignee_id")
private long assigneeId;
private String content;
private String status;
Expand Down

0 comments on commit 20e4812

Please sign in to comment.