package com.ga.core.vo.commission;

import com.fasterxml.jackson.annotation.JsonValue;

/**
 * 수수료 종류 코드 (COMMISSION_TYPE 그룹, V40)
 * commission_master.commission_type, override_ledger.source_commission_type 등에서 사용.
 */
public enum CommissionType {
    RECRUIT("모집수수료"),
    MAINTAIN("유지수수료"),
    COLLECT("수금수수료"),
    OVERRIDE("오버라이드"),
    RENEWAL("갱신수수료"),
    REINSTATE("부활수수료"),
    PERSIST("유지보수수당"),
    INCENTIVE("시책수수료"),
    ONBOARD("위촉수수료"),
    INCOME("수입수수료"),
    REFERRAL("소개수수료"),
    TRANSFER("이관수수료"),
    SETTLING("정착지원금"),
    RECOGNIZED("인정실적"),
    AWARD("시상"),
    LIFE_SUPPORT("생보운영지원수수료"),
    BRANCH_ALLOWANCE("지점장수당");

    private final String label;

    CommissionType(String label) {
        this.label = label;
    }

    @JsonValue
    public String getCode() {
        return this.name();
    }

    public String getLabel() {
        return label;
    }
}
