package com.qqchen.deploy.backend.workflow.enums;

import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 审批结果枚举
 *
 * @author qqchen
 * @date 2025-10-23
 */
@Getter
@AllArgsConstructor
public enum ApprovalResultEnum {

    /**
     * 待审批
     */
    PENDING("PENDING", "待审批"),

    /**
     * 通过
     */
    APPROVED("APPROVED", "通过"),

    /**
     * 拒绝
     */
    REJECTED("REJECTED", "拒绝"),

    /**
     * 超时
     */
    TIMEOUT("TIMEOUT", "超时");

    @JsonValue
    private final String code;
    private final String description;
}

