package cn.hmsoft.ltc.common.constants;

import cn.hmsoft.ltc.model.Course;
import cn.hmsoft.ltc.model.LoginRequest;
import cn.hmsoft.ltc.model.TestPaper;

/**
 * 上下文.
 * @author zq
 *
 */
public class LtContext {

	public static LoginRequest CURR_LOGIN_USER = null;
	
	public static String LOGIN_SCHOOL = "";   //登入学校
	
	public static int LOGIN_USER_ID = 0;   //  注册用户id
	
	public static String LOGIN_USER_NAME = "";//登录用户名
	
	public static Course CURR_COURSE = null;//关联题型时选择的课程
	
	public static TestPaper CURR_PAPER = null;//试卷编辑细目表
	
	public static Integer COURSE_ID = 0;   //课程id
	
	/**
	 * 单项选择题ID
	 */
	public static int TYPE_SINGLE_SELECT_ID = 117;
	/**
	 * 多项选择题ID
	 */
	public static int TYPE_MULTI_SELECT_ID = 118;
	
	public static int CORRECT_OPTIONS_STATUS_ONE =1;  //0.主观  题 1.单项选题，2.多项选择题
	
	public static int CORRECT_OPTIONS_STATUS_TWO =2;  //0.主观  题 1.单项选题，2.多项选择题
	
	/**
	 * 普通注册用户.
	 */
	public static int PLAIN_USSER = 0;
}
