package com.ga.core.vo.commission;

import com.fasterxml.jackson.annotation.JsonValue;

/**
 * 선지급 상태 (ADVANCE_STATUS 그룹, V117)
 */
public enum AdvanceStatus {
    OUTSTANDING("미상환"),
    PARTIAL("부분상환"),
    CLEARED("상환완료"),
    WAIVED("면제");

    private final String label;

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

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

    public String getLabel() {
        return label;
    }
}
