package com.ga.core.vo.commission;

import lombok.Data;

import java.math.BigDecimal;

/**
 * referral_commission_ledger 조회 응답 — 설계사명·계약번호·공통코드명 조인 포함.
 */
@Data
public class ReferralCommissionLedgerResp {
    private Long ledgerId;
    private Long contractId;
    /** contract.policy_no */
    private String policyNo;
    private Long referrerAgentId;
    /** agent.agent_name */
    private String referrerAgentName;
    private String settleMonth;
    private String referralType;
    /** 공통코드 REFERRAL_TYPE */
    private String referralTypeName;
    private BigDecimal baseAmount;
    private BigDecimal commissionRate;
    private BigDecimal commissionAmount;
    private String status;
    /** 공통코드 INCOME_STATUS */
    private String statusName;
}
