package com.ga.core.vo.settle;

import lombok.Data;

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

/**
 * payment_batch_item — 지급대상건 (V115)
 * INSERT / UPDATE 전용. 조인 필드 없음.
 */
@Data
public class PaymentBatchItemVO {
    private Long itemId;
    /** FK payment_batch.batch_id */
    private Long batchId;
    /** FK settle_master.settle_id (스냅샷 원본 키) */
    private Long settleId;
    /** FK agent.agent_id */
    private Long agentId;
    /** settle_master.payable_amount 스냅샷 */
    private BigDecimal payableAmount;
    /** 포함 여부 (기본 true) */
    private Boolean included;
    /** 제외 사유 (included=false 시 기록) */
    private String excludeReason;
    private LocalDateTime createdAt;
}
