package com.hzs.common.core.constant;

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

    /**
     * 重试次数
     */
    public static final Integer RETRY_COUNT = 10;
    /**
     * 自动生成期数（一次生成28期）
     */
    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 = 300;

    /**
     * 更新条数
     */
    public static final Integer BATCH_QUERY_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 Integer CHANGE_NUM = 1;

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

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

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

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

}
