package com.ga.core.vo.license;

import com.fasterxml.jackson.annotation.JsonValue;

/**
 * 자격증 종류 (V46 agent_license.license_type)
 */
public enum LicenseType {
    LIFE("생명보험"),
    NONLIFE("손해보험"),
    VARIABLE("변액보험");

    private final String label;

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

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

    public String getLabel() {
        return label;
    }
}
