package br.gov.sigefp.treasury.api.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;
import java.util.UUID;

/**
 * DTO para transferência de dados de conciliação bancária.
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class BankReconciliationDTO {

    private UUID id;
    private UUID cashAccountId;
    private LocalDate reconciliationDate;
    private BigDecimal statementBalance;
    private BigDecimal systemBalance;
    private BigDecimal difference;
    private String status; // PENDING, RECONCILED, DISCREPANCY
    private UUID reconciledBy;
    private LocalDateTime reconciledAt;
    private List<ReconciliationItemDTO> items;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
}

