package com.ga.core.vo.commission;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * override_summary — agent+settle_month 단위 오버라이드 합계 (V44)
 * UNIQUE(to_agent_id, settle_month) — 배치 완료 후 UPSERT.
 */
@Data
public class OverrideSummaryVO {
    private Long summaryId;
    private Long toAgentId;
    private String settleMonth;
    private BigDecimal totalSourceAmount;
    private BigDecimal totalOverrideAmount;
    private Integer ledgerCount;
    /** CALCULATED / CONFIRMED / PAID */
    private String status;
    private LocalDateTime calcDate;
    private LocalDateTime updatedAt;
}
