package com.ga.core.vo.notice;

import com.fasterxml.jackson.annotation.JsonValue;

/**
 * 공지사항 유형 (V51 notice.notice_type)
 */
public enum NoticeType {
    SYSTEM("시스템공지"),
    POLICY("정책공지"),
    EVENT("이벤트");

    private final String label;

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

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

    public String getLabel() {
        return label;
    }
}
