package com.hnshituo.core.auth.service;

import com.hnshituo.basic.service.BaseService;

public interface HomeService extends BaseService {
	public final static String SESSION_USER = "user";
	public final static String SESSION_USER_ID = "user_id";
	public final static String SESSION_USER_NAME = "username";
	/** 功能权限 */
	public final static String SESSION_FUNC_PRV = "function_privilege";
	/** 数据权限 */
	public final static String REQUEST_DATA_PRG = "request_data_prg";
	public final static String REQUEST_DATA_FIELD = "request_data_field";
	
	public final static String SESSION_DEPT_ID = "dept_id";
	public final static String SESSION_DEPT_NAME = "dept_name";
	
	public final static String SESSION_WORK_ORD = "work_ord";
	public final static String SESSION_WORK_GRP = "work_grp";
	public final static String SESSION_WORK_TIME = "work_time";
	
	public final static String SESSION_ISADMIN = "is_admin";
	
	//班次
	public final static String WRK_ORD = "1";
	//班组
	public final static String WRK_GRP = "1";
	
	public boolean hasPermission(String url) throws Exception;
}
