package com.kiisoo.ic.constants;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @ClassName: Constants
 * @Description:
 * @Auther: Caps
 * @Date: 2020/4/8 0008 14:49
 * @Version:
 */
public class Constants {

    /**
     * 操作人
     */
    public static final String SYS_OPERATION = "系统";
    public static final String UPLOAD_OPERATION = "导入";


    /**账户类型\n（1、系统账户；2、企业微信）*/
    public static final int ACCOUNT_STATUS_UNABLE = 1;

    /**
     * 用户名或密码错误
     */
    public static final String ERROR_PASSWORD = "0003";

    public static final String ERROR_MSG_PASSWORD_ERROR = "密码错误";

    /**
     * 该账号不存在
     */
    public static final String ERROR_ACCOUNT_NOT_EXIST = "0004";

    public static final String ERROR_MSG_ACCOUNT_NOT_EXIST = "该账号不存在";

    /**
     * 该账号不存在
     */
    public static final String ERROR_ACCOUNT_NOT_BIND = "0005";

    public static final String ERROR_MSG_ACCOUNT_NOT_BIND = "该账号未绑定";

    /**
     * 该账号不存在
     */
    public static final String ERROR_ROLE_NO_PERMISSION = "0006";

    public static final String ERROR_MSG_ROLE_NO_PERMISSION = "该角色没有登录权限";

    /**
     * 系统异常
     */
    public static final String ERROR_SYSTEM = "0001";

    public static final String ERROR_MSG_SERVICE_EXCEPTION = "系统异常";

    /**
     * 无权限
     */
    public static final String LOGIN_NO_PERMISSIONS = "1007";

    /**
     * 重置密码
     */
    public static final String PASSWORD_RESET = "123456";

    /** 数字对应周 */
    public static final Map<Long, String> SELLER_TYPE = new HashMap<Long, String>() {
        private static final long serialVersionUID = 1L;
        {
            put(1L, "店长");
            put(2L, "副店长");
            put(3L, "店长助理");
            put(4L, "导购");

        }
    };
    /** 数字对应周 */
    public static final List<String> MINI_ROLE_CODE = new ArrayList<String>() {
        private static final long serialVersionUID = 1L;
        {
            add("DZ-DIANZHANG");
            add("DG-DAOGOU");
        }
    };
}
