package com.bonus.gs.sub.evaluate.manager.utils;

import java.util.HashMap;
import java.util.Map;

/**
 * 全局静态资源
 * 
 */
public class GlobalConst {

	
	public static Map<String,String> map;
	    
	static {
	    map =new HashMap<String,String>();
	    map.put("employee","com.bonus.webPortal.bean.WebClientEmployeeBean");
	    map.put("machine","com.bonus.ma.beans.MachineTypeBean");
	}
	
	public static final String SESSION_SECURITY_CODE = "sessionSecCode";

	public static final String SESSION_USER = "sessionUser";

	public static final String SESSION_MENULIST = "sessionMenuList";

	/**
	 * 返回值 没有权限 100
	 */
	public static final int NO_AUTHORIZED = 100;

	/**
	 * 没有权限返回中文说明
	 */
	public static final String NO_AUTHORIZED_MSG = "当前角色没有权限";

	/**
	 * 返回值 成功(1)
	 */
	public static final int SUCCEED = 1;
	/**
	 * 返回值 成功(2)
	 */
	public static final int TWO = 2;
	
	/**
	 * 返回值 失败(0)
	 */
	public static final int FAIL = 0;

	/**
	 * 菜单类型 (1)
	 */
	public static final String RESOURCES_TYPE_MENU = "1";
	/**
	 * 功能类型(2)
	 */
	public static final String RESOURCES_TYPE_FUNCTION = "2";
	/**
	 * 按钮类型(3)
	 */
	public static final String RESOURCES_TYPE_BUTTON = "3";

	/**
	 * 保存成功
	 */
	public static final String SAVE_SUCCEED = "保存成功";
	/**
	 * 保存失败
	 */
	public static final String SAVE_FAIL = "保存失败";
	
	/**
	 * 删除成功
	 */
	public static final String DEL_SUCCEED = "删除成功";
	/**
	 * 删除失败
	 */
	public static final String DEL_FAIL = "删除失败";
	/**
	 * 删除失败
	 */
	public static final String DEL_PARENT_FAIL = "此节点存在子节点，不能删除。";
	/**
	 * 修改成功
	 */
	public static final String UPDATE_SUCCEED = "修改成功";
	/**
	 * 验收失败
	 */
	public static final String ACCEPT_FAIL = "验收失败";
	
	/**
	 * 修改成功
	 */
	public static final String AUDIT_SUCCEED = "审核成功";
	/**
	 * 验收失败
	 */
	public static final String AUDIT_FAIL = "审核失败";
	
	/**
	 * 验收成功
	 */
	public static final String ACCEPT_SUCCEED = "验收成功";
	/**
	 * 修改失败
	 */
	public static final String UPDATE_FAIL = "修改失败";

	/**
	 * 通知成功
	 */
	public static final String NOTICE_SUCCEED = "通知成功";
	/**
	 * 通知失败
	 */
	public static final String NOTICE_FAIL = "通知失败";

	/**
	 * 数据获取成功
	 */
	public static final String DATA_SUCCEED = "数据获取成功";
	/**
	 * 数据获取失败
	 */
	public static final String DATA_FAIL = "数据获取失败";

	/**
	 * 数据获取成功
	 */
	public static final String BACK_SUCCEED = "退料成功";
	
	public static final String REGISTER_SUCCEED = "注册成功";
	
	public static final String USER_NAME = "用户名已存在";
	
	public static final String YZM = "yzm";

	/**
	 * 数据获取失败
	 */
	public static final String BACK_FAIL = "退料失败";
	/**
	 * 上传成功
	 */
	public static final String UPLOAD_SUCCEED = "上传成功";
	/**
	 * 上传失败
	 */
	public static final String UPLOAD_FAIL = "上传失败";
	public static final String FILE_FAIL = "生成失败";
	 
	/**
	 * 导入成功
	 */
	public static final String IMP_SUCCEED = "导入成功";
	/**
	 * 导入失败
	 */
	public static final String IMP_FAIL = "导入失败";
	/**
	 * 导入成功
	 */
	public static final String GEN_SUCCEED = "生成成功";
	/**
	 * 导入失败
	 */
	public static final String GEN_FAIL = "生成失败";

	/**
	 * 导入失败
	 */
	public static final String START_INV = "开始盘点";

	/**
	 * 导入失败
	 */
	public static final String STOP_INV = "停止盘点";
	

	/**
	 * 导入失败
	 */
	public static final String SUBMIT_SUCCESS = "提交成功";

	/**
	 * 导入失败
	 */
	public static final String SUBMIT_FAIL = "提交失败";
	
	/**
	 * 结算完成
	 */
	public static final String SEETLEMENT_SUCCESS = "结算成功";

	/**
	 * 结算失败
	 */
	public static final String SEETLEMENT_FAIL = "结算失败";
	
	/**
	 * 移交成功
	 */
	public static final String TRANSFER_SUCCESS = "移交成功";

	/**
	 * 移交失败
	 */
	public static final String TRANSFER_FAIL = "移交失败";
	
	/**
	 * 退租成功
	 */
	public static final String BACK_THEN_SUCCESS = "退租成功";

	/**
	 * 退租失败
	 */
	public static final String BACK_THEN_FAIL = "退租失败";
	/**
	 * 审核成功
	 */
	public static final String AUDIT_SUCCESS = "审核成功";

	/**
	 * 审核失败
	 */
	public static final String AUDIT_FAILURE = "审核失败";
	/**
	 * 下载成功
	 */
	public static final String DOWNLOAD_SUCCESS = "下载成功";

	/**
	 * 下载失败
	 */
	public static final String DOWNLOAD_FAIL = "下载失败";

	/**
	 * 回答成功
	 */
	public static final String ANSWER_SUCCESS = "回答成功";

	/**
	 * 回答失败
	 */
	public static final String ANSWER_FAIL = "回答失败";
	
	
}
