package fr.bonsai.api.domain.model; import java.time.LocalDate; import java.util.List; public class Issue { private final Long id; private final IssueType type; private final String assignee; private final String epic; private final String name; private final LocalDate dueDate; private final String description; private final Double estimatedTime; private final List dependsOnIds; private final List comments; private final Priority priority; private final IssueStatus status; private final int progress; public Issue(Long id, IssueType type, String assignee, String epic, String name, LocalDate dueDate, String description, Double estimatedTime, List dependsOnIds, List comments, Priority priority, IssueStatus status, int progress) { this.id = id; this.type = type; this.assignee = assignee; this.epic = epic; this.name = name; this.dueDate = dueDate; this.description = description; this.estimatedTime = estimatedTime; this.dependsOnIds = dependsOnIds; this.comments = comments; this.priority = priority; this.status = status; this.progress = progress; } public Long getId() { return id; } public IssueType getType() { return type; } public String getAssignee() { return assignee; } public String getEpic() { return epic; } public String getName() { return name; } public LocalDate getDueDate() { return dueDate; } public String getDescription() { return description; } public Double getEstimatedTime() { return estimatedTime; } public List getDependsOnIds() { return dependsOnIds; } public List getComments() { return comments; } public Priority getPriority() { return priority; } public IssueStatus getStatus() { return status; } public int getProgress() { return progress; } }