package com.ga.core.vo.license;

import com.fasterxml.jackson.annotation.JsonValue;

/**
 * 자격증 상태 (V46 agent_license.status)
 */
public enum LicenseStatus {
    ACTIVE("유효"),
    EXPIRED("만료"),
    SUSPENDED("정지");

    private final String label;

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

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

    public String getLabel() {
        return label;
    }
}
