package com.ga.core.vo.commission;

import lombok.Data;

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

/**
 * recruiter_commission_rule — 도입수수료 룰 마스터 (V116)
 */
@Data
public class RecruiterCommissionRuleVO {
    private Long ruleId;
    /** RecruiterType: NEW_RECRUIT/DEVELOPMENT/TRAINING */
    private String recruiterType;
    /** CalcType: RATE/FIXED */
    private String calcType;
    /** 정률 요율 (0~1, 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;
}
