package com.ga.core.vo.commission;

import lombok.Data;

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

/**
 * award_ledger — 시상 원장 (V92)
 * award_amount = base_amount × award_rate (RATE) or award_fixed (FIXED)
 */
@Data
public class AwardLedgerVO {
    private Long ledgerId;
    private Long agentId;
    /** 정산 귀속월 (YYYYMM) */
    private String settleMonth;
    /** AwardType: NEW_RECRUIT / CORPORATE / RETENTION / PERFORMANCE */
    private String awardType;
    /** 기준 실적 */
    private BigDecimal baseAmount;
    /** 시상금 */
    private BigDecimal awardAmount;
    /** CALCULATED / CONFIRMED / PAID / CANCELLED */
    private String status;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
}
