package com.zsElectric.boot.common.constant;

/**
 * 系统常量
 *
 * @author Ray.Hao
 * @since 1.0.0
 */
public interface SystemConstants {

    /**
     * 根节点ID
     */
    Long ROOT_NODE_ID = 0L;

    /**
     * 系统默认密码
     */
    String DEFAULT_PASSWORD = "123456";

    /**
     * 超级管理员角色编码
     */
    String ROOT_ROLE_CODE = "ROOT";


    /**
     * 系统配置 IP的QPS限流的KEY
     */
    String SYSTEM_CONFIG_IP_QPS_LIMIT_KEY = "IP_QPS_THRESHOLD_LIMIT";

    /**
     * 通用状态值
     */
    Integer STATUS_ZERO = 0;

    Integer STATUS_ONE = 1;

    Integer STATUS_TWO = 2;

    Integer STATUS_THREE = 3;

    Integer STATUS_FOUR = 4;

    Integer STATUS_FIVE = 5;

    /**
     * 充值记录描述
     */
    String ACCOUNT_LOG_PAY_NOTE = "购买充点券";
    String ACCOUNT_LOG_REFUND_NOTE = "账户退款";
    String ACCOUNT_LOG_BACK_TAX_NOTE = "补缴欠费";

    /**
     * 变更记录类型  1-增加 2-减少
     */
    Integer CHANGE_TYPE_ADD = 1;
    Integer CHANGE_TYPE_REDUCE = 2;

    /**
     * 账户类型  1-个人账户 2-集团账户
     */
    Integer ACCOUNT_TYPE_PERSONAL = 1;
    Integer ACCOUNT_TYPE_COMPANY = 2;

}
