package com.beanpodtech.allinone.utils;

public class Contants {
    //用户相关
    public static final String USER_NAME = "userName";
    //    public static final String USER_PHONE = "userPhone";
    public static final String USER_PASSWORD = "userPsw";
    public static final String USER_AVATAR = "userAvater";
    public static final String USER_ID = "userId";
    public static final String USER_SCHOOLNAME = "schoolName";
    public static final String USER_GRADE = "grade";
    public static final String USER_BRANCHNAME = "branchName";
    public static final String USER_BRANCHSCHOOL = "branchSchool";
    public static final String USER_BIRTHDAY = "birthday";
    public static final String USER_NICKNAME = "nickName";
    public static final String USER_ADDRESS = "address";
    public static final String USER_PARENTNAME = "parentName";
    public static final String LOGIN_STATE = "loginState";
    public static final String IS_PRINCIPAL = "isPrincipal";
    public static final String TOKEN = "token";
    //课程相关
    public static final String CLASS_ID = "classId";
    public static final String SUBJECT_ID = "subjectId";
    public static final String CLASS_NAME = "className";
    //护眼模式状态
    public static final String EYE_STATUS = "eyestatus";


    public static final int BITMAP_MAX_KEEP_TIME = 5;//day
    public static final int BITMAP_UPLOAD_INTERVAL = 60;//seconds
    public static final int BITMAP_SAVE_INTERVAL = 10;//seconds
    public static final int BITMAP_SAVE_INTERVAL_FOR_STOP = 5;//seconds
    public static final int BITMAP_UPLOAD_INTERVAL_FOR_STOP = 10;//seconds
    public static final int TIME_UPLOAD_INTERVAL_FOR_STOP = 10;//seconds
    public static final int TIME_UPLOAD_INTERVAL = 60;//seconds
    public static final int BITMAP_UNCHECK_STATE = 0;
    public static final int BITMAP_CHECK_STATE = 1;
    public static final int BITMAP_UNEXSIT_STATE = 0;
    public static final int BITMAP_EXSIT_STATE = 1;

    public static final String CAROUSEL_LIST = "carousel_list";

    //搜索关键字
    public static final String SEARCH_KEY_WORD = "keyWord";
    //剩余时长不足的广播action
    public static final String ACTION_SENDLEFT = "com.beanpodtech.allinone.receive.LEFTTIME";
    /**
     * 剩余时间
     */
    public static final String LEFT_TIME = "leftTIme";


    /**
     * 是否需要排队
     */
    public static final String IS_NEED_QUEUE = "isNeedQueue";

    public static final String IS_SHOW_GARRAGE="isShowGarrage";
    /**
     * 接口回调 成功
     */
    public final static int KEY_SUCCESS = 0;
    /**
     * 接口回调 token失效
     */
    public final static int TOKEN_EXPIRE = 403;
}
