package com.unicorn.hgzero.meeting.infra.dto.response;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

/**
 * Todo 목록 조회 응답 DTO
 */
@Getter
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TodoListResponse {

    private List<TodoItem> todoList;
    private long totalCount;
    private int currentPage;
    private int totalPages;

    @Getter
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    public static class TodoItem {
        private String todoId;
        private String title;
        private String description;
        private String assigneeId;
        private String assigneeName;
        private String priority; // HIGH, MEDIUM, LOW
        private String status; // PENDING, IN_PROGRESS, COMPLETED
        private LocalDateTime dueDate;
        private LocalDateTime createdAt;
        private LocalDateTime completedAt;
        private String completedBy;
        
        // 관련 회의록 정보
        private String minutesId;
        private String minutesTitle;
        private String meetingId;
        private String meetingTitle;
    }
}