package com.ga.core.vo.commission;

import lombok.Data;

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

/**
 * branch_mgr_allowance_rule — 지점장수당 룰 마스터 (V94)
 */
@Data
public class BranchMgrAllowanceRuleVO {
    private Long ruleId;
    /** 직책 코드 (지점장 등) */
    private String positionCode;
    /** 수당율 (소수, 예: 0.02 = 2%) */
    private BigDecimal allowanceRate;
    /** 수당 상한금액 (NULL=무제한) */
    private BigDecimal capAmount;
    private LocalDate effectiveFrom;
    private LocalDate effectiveTo;
    private LocalDateTime createdAt;
    private Long createdBy;
    private LocalDateTime updatedAt;
}
