package com.ga.core.vo.commission;

import com.fasterxml.jackson.annotation.JsonValue;

/**
 * 환수 분할상환 상태 (CB_INSTALLMENT_STATUS 그룹, V118)
 */
public enum CbInstallmentStatus {
    SCHEDULED("예정"),
    RECOVERED("회수"),
    CANCELLED("취소");

    private final String label;

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

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

    public String getLabel() {
        return label;
    }
}
