package shop.alien.util.common;

/**
 * 项目通用常量定义类
 */
public class Constants {
    
    /**
     * 通知相关常量
     */
    public static class Notice {
        /**
         * 系统通知类型
         */
        public static final Integer SYSTEM_NOTICE = 1;
    }
    
    /**
     * 图片类型常量
     */
    public static class ImageType {
        /**
         * 二手商品图片类型
         */
        public static final Integer SECOND_HAND_GOODS = 18;

        /**
         * 二手商品图片类型
         */
        public static final Integer SECOND_HAND_REPORT = 19;
        
        /**
         * 二手商品记录图片类型
         */
        public static final Integer SECOND_HAND_RECORD = 23;
    }
    
    /**
     * 删除标志常量
     */
    public static class DeleteFlag {
        /**
         * 未删除
         */
        public static final Integer NOT_DELETED = 0;
        
        /**
         * 已删除
         */
        public static final Integer DELETED = 1;
    }
    
    /**
     * 审核状态常量
     */
    public static class AuditStatus {
        /**
         * 审核失败
         */
        public static final Integer FAILED = 2;
        
        /**
         * 审核通过
         */
        public static final Integer PASSED = 1;

        /**
         * 审核中
         */
        public static final Integer UNDER_REVIEW = 0;

    }
    
    /**
     * 点赞类型常量
     */
    public static class LikeType {
        /**
         * 二手商品点赞
         */
        public static final Integer SECOND_HAND_GOODS = 6;
    }
    
    /**
     * 收藏业务类型常量
     */
    public static class CollectBusinessType {
        /**
         * 默认业务类型
         */
        public static final Integer DEFAULT = 1;
    }
    
    /**
     * 交易状态常量
     */
    public static class TradeStatus {
        /**
         * 交易成功
         */
        public static final Integer SUCCESS = 1;
        
        /**
         * 待确认
         */
        public static final Integer PENDING_CONFIRMATION = 1;
        
        /**
         * 已拒绝
         */
        public static final Integer REJECTED = 2;
        
        /**
         * 待交易
         */
        public static final Integer PENDING_TRADE = 3;
        
        /**
         * 交易成功
         */
        public static final Integer TRADE_SUCCESS = 4;
        
        /**
         * 交易失败
         */
        public static final Integer TRADE_FAILED = 5;
        
        /**
         * 交易取消
         */
        public static final Integer TRADE_CANCELLED = 6;
    }
}