package com.lesingle.modules.ugc.enums;

/**
 * 作品本地发布状态枚举
 * <p>
 * 与前端 WorkStatus 类型定义完全一致：'draft' | 'unpublished' | 'pending_review' | 'published' | 'rejected'
 */
public enum WorkPublishStatus {

    DRAFT("draft", "草稿"),
    UNPUBLISHED("unpublished", "未发布"),
    PENDING_REVIEW("pending_review", "审核中"),
    PUBLISHED("published", "已发布"),
    REJECTED("rejected", "被拒绝");

    private final String value;
    private final String label;

    WorkPublishStatus(String value, String label) {
        this.value = value;
        this.label = label;
    }

    public String getValue() {
        return value;
    }

    public String getLabel() {
        return label;
    }
}
