package com.ga.core.vo.commission;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * referral_commission_rule 조회 응답 — 공통코드명 조인 포함.
 */
@Data
public class ReferralCommissionRuleResp {
    private Long ruleId;
    private String referralType;
    /** 공통코드 REFERRAL_TYPE */
    private String referralTypeName;
    private String calcType;
    /** 공통코드 CALC_TYPE */
    private String calcTypeName;
    private BigDecimal commissionRate;
    private BigDecimal fixedAmount;
    private LocalDate effectiveFrom;
    private LocalDate effectiveTo;
}
