package com.xhpc.common.util;

/**
 * @author yuyang
 * @date 2021/12/29 16:48
 */
public class UserTypeUtil {

    //超管数据id
    public static final Long USER_ID = 1L;

    //c端用户
    public static final String USER = "C";
    //流量端用户
    public static final String INTERNET = "L";
    //社区端用户
    public static final String COMMUNIT = "ST";
    //B端大客户
    public static final String CUSTOMERS = "BE";

    //c端用户
    public static final Integer USER_TYPE = 0;
    //流量端用户
    public static final Integer INTERNET_TYPE = 1;
    //社区端用户
    public static final Integer COMMUNIT_TYPE = 2;
    //B端大客户
    public static final Integer CUSTOMERS_TYPE = 3;

    //重新登录
    public static final Integer LOGIN_TYPE = 1999;


    /**
     * 微信操作渠道
     */
    public static final Integer OPERATION_WX_TYPE = 1;

    /**
     * 支付宝操作渠道
     */
    public static final Integer OPERATION_ALI_PAY_TYPE = 2;

    /**
     * 用户增加余额
     */
    public static final Integer INSERT_BALANCE = 1;
    /**
     * 用户减少余额
     */
    public static final Integer UPDATE_BALANCE = 2;

    /**
     * 微信支付
     */
    public static final Integer RECHARGE_WX = 1;
    /**
     * 支付宝支付
     */
    public static final Integer RECHARGE_ZHB = 2;
    /**
     * 平台支付
     */
    public static final Integer RECHARGE_PT = 3;

    /**
     * 支付状态-待支付
     */
    public static final Integer RECHARGE_STATUS_ZERO= 0;
    /**
     * 支付状态-充值成功
     */
    public static final Integer RECHARGE_STATUS_ONE = 1;
    /**
     * 支付状态-充值失败
     */
    public static final Integer RECHARGE_STATUS_TWO = 2;

    /**
     * 退款订单审核-无
     */
    public static final Integer REFUND_APPLICATION_ZERO = 0;

    /**
     * 退款订单审核-有
     */
    public static final Integer REFUND_APPLICATION_ONE = 1;


    /**
     * 系统用户(00 平台管理员 01 运营上 03 子账户)
     */
    public static final String SYS_USER_TYPE_ZERO = "00";
    public static final String SYS_USER_TYPE_ONE = "01";
    public static final String SYS_USER_TYPE_TWO = "02";
    public static final String SYS_USER_TYPE_THREE = "03";


    /**
     * 启动方式  微信、支付宝、刷卡
     */
    public static final String CHARGING_MODE_WX = "微信";
    public static final String CHARGING_MODE_ZFB = "支付宝";
    public static final String CHARGING_MODE_CARD = "刷卡";


    public static final Long SYS_USER_TYPE_ADMIN = 1L;

    /**
     * 登录状态
     */
    public static final String LOGIN = "1";

    /**
     * 未登录状态
     */
    public static final String NO_LOGIN = "0";
}
