package com.pingcap.community.blogserver.enums;

/**
 * The status of post.
 *
 * DRAFT: The initial state of post when a user without PUBLISH_POST authority creates a post.
 * PENDING: The post is in a state of waiting for editor review after the user submits the edited post.
 * REJECTED: The editor reject to publish the post that needs to modify based on comments.
 * PUBLISHED: The post has been published and everyone can see it.
 * ARCHIVED: The post has been archived, the archived post are not visible to others.
 */
public enum PostStatus {
    DRAFT,
    PENDING,
    REJECTED,
    PUBLISHED,
    DELETED
}
