package com.haha.common.constant;

/**
 * 通用状态常量
 */
public final class CommonConstants {
    
    private CommonConstants() {}
    
    // ==================== 通用状态 ====================
    
    /**
     * 启用状态
     */
    public static final int STATUS_ENABLED = 1;
    
    /**
     * 禁用状态
     */
    public static final int STATUS_DISABLED = 0;
    
    /**
     * 禁用状态（管理员专用）
     */
    public static final int ADMIN_STATUS_DISABLED = 2;
    
    // ==================== 删除标记 ====================
    
    /**
     * 未删除
     */
    public static final int NOT_DELETED = 0;
    
    /**
     * 已删除
     */
    public static final int DELETED = 1;
    
    // ==================== 默认值 ====================
    
    /**
     * 默认页码
     */
    public static final int DEFAULT_PAGE = 1;
    
    /**
     * 默认每页条数
     */
    public static final int DEFAULT_PAGE_SIZE = 10;
    
    /**
     * 最大每页条数
     */
    public static final int MAX_PAGE_SIZE = 100;
    
    /**
     * 默认密码
     */
    public static final String DEFAULT_PASSWORD = "123456";
}
