package com.ga.core.vo.complaint;

import com.fasterxml.jackson.annotation.JsonValue;

/**
 * 민원 처리 상태 (V49 complaint.status)
 */
public enum ComplaintStatus {
    OPEN("접수"),
    IN_PROGRESS("처리중"),
    CLOSED("완료"),
    WITHDRAWN("취하");

    private final String label;

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

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

    public String getLabel() {
        return label;
    }
}
