package com.hzs.common.core.constant;

import java.math.BigDecimal;

/**
 * 魔法数字常量类
 */
public class MagicNumberConstants {

    /**
     * 重试次数
     */
    public static final Integer RETRY_COUNT = 10;

    public static final Integer PERIOD_AUTO_INCREASE = 28;

    /**
     * 小数位数
     */
    public static final Integer DECIMAL = 6;
    public static final Integer ZERO = 0;

    /**
     * 一小时的秒数
     */
    public static final Long HOUR_SECOND = 3600L;

    /**
     * 生成条形码加数常量
     */
    public static final Integer ADDEND = 1;

    /**
     * 更新条数
     */
    public static final Integer BATCH_UPDATE_NUM = 400;

    /**
     * 数据库批量更新(删除)
     */
    public static final Integer DELETE_DATA_BATCH_UPDATE_NUM = 200;

    /**
     * 系统管理员主键
     */
    public static final Long PK_ADMIN = 100000000L;

    /**
     * 开始血缘代
     */
    public static final Integer BLOOD_GENERATION_START = 1;

    /**
     * 结束血缘代
     */
    public static final Integer BLOOD_GENERATION_END = 10;

    /**
     * 血缘代系数
     */
    public static final Integer BLOOD_GENERATION_SERIES = 5;

    /**
     * 老会员编号位数
     */
    public static final Integer OLD_DIGIT = 8;
    /**
     * 新会员编号位数
     */
    public static final Integer DIGIT = 12;

    /**
     * 只能撤销7天内的订单，今天算1天，往前6天就是7天
     */
    public static final Integer CANCEL_ORDER = 6;

    /**
     * 前缀
     */
    public static final String GLOBAL_PREFIX = "GB";

    /**
     * 账户数
     */
    public static final Integer ACC0UNT_NUM = 14;

    /**
     * 禁用账户数
     */
    public static final Integer ACC0UNT_LOCK_NUM = 10;

    /**
     * 提现的倍数
     */
    public static final Integer WITHDRAW_MULTIPLE = 100;

    /**
     * 孟加拉 国家编码
     */
    public static final String BENGAL_COUNTRY_CODE = "BL";

    /**
     * 海粉等级主键为1
     */
    public static final Integer CHINA_HA_FUN = 1;

    /**
     * 新注册会员默认给奖金结算时间
     */
    public static final Integer BOUNS_INIT_YEAR = 1;

    /**
     * 封顶值
     */
    public static final Integer CAPPED_VALUE = 150;

    /**
     * 1分对应封顶值
     */
    public static final BigDecimal POINT_CAPPING = BigDecimal.valueOf(150);

    /**
     * 提现周期设置（周一、周五提现）
     */
    public static final String WITHDRAW_CYCLE = "1,5";


    public static final String WITHDRAW_DATE = "2024-03-03";
}
