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;

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

    private List<MinutesItem> minutesList;
    private long totalCount;
    private int currentPage;
    private int totalPages;

    @Getter
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    public static class MinutesItem {
        private String minutesId;
        private String title;
        private String meetingTitle;
        private String status; // DRAFT, FINALIZED
        private int version;
        private LocalDateTime createdAt;
        private LocalDateTime lastModifiedAt;
        private String createdBy;
        private String lastModifiedBy;
        private int todoCount;
        private int completedTodoCount;
    }
}