package com.ga.core.vo.approval;

import com.fasterxml.jackson.annotation.JsonValue;

/**
 * 결재 액션 (V50 approval_history.action)
 */
public enum ApprovalAction {
    APPROVE("승인"),
    REJECT("반려"),
    RETURN("반송");

    private final String label;

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

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

    public String getLabel() {
        return label;
    }
}
