package com.ga.core.vo.commission;

import lombok.Data;

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

/**
 * referral_commission_rule — 소개·이관수수료 룰 마스터 (V89)
 */
@Data
public class ReferralCommissionRuleVO {
    private Long ruleId;
    /** ReferralType: REFERRAL / TRANSFER */
    private String referralType;
    /** CalcType: RATE / FIXED */
    private String calcType;
    /** 정률 요율 (소수, calc_type=RATE 일 때 사용) */
    private BigDecimal commissionRate;
    /** 정액 금액 (calc_type=FIXED 일 때 사용) */
    private BigDecimal fixedAmount;
    private LocalDate effectiveFrom;
    private LocalDate effectiveTo;
    private LocalDateTime createdAt;
    private Long createdBy;
    private LocalDateTime updatedAt;
}
