using System; using System.Collections.Generic; using System.Text; using QM.Common; namespace QM.Account { /// /// 模块编号:QM.Account.UserBuffer /// 作 用:用户登录信息缓存 /// 作 者:孙高峰 /// 编写日期:2002-02-13 /// [Serializable()] public abstract class UserBuffer { //无用 private static int _id; //员工ID private static string _employeeid; //员工号 private static string _employeeno; //员工姓名 private static string _employeename; //部门ID private static string _deptid; //部门名称 private static string _deptname; //用户编号 private static string _usercode; //用户登录名 private static string _username; //用户组 private static string _usergroup; //用户类别 private static EnumStatus.UserKind _userkind; //无用 private static string _session; //数据刷新间隔 private static int _interval; /// /// 员工号 /// public static string EmployeeNO { get { return UserBuffer._employeeno; } set { UserBuffer._employeeno = value; } } /// /// 用户数据ID /// public static int ID { get { return _id; } set { _id = value; } } /// /// 用户数据ID /// public static string DeptId { get { return _deptid; } set { _deptid = value; } } /// /// 员工编号 /// public static string EmployeeId { get { return _employeeid; } set { _employeeid = value; } } /// /// 员工姓名 /// public static string EmployeeName { get { return _employeename; } set { _employeename = value; } } /// /// 用户编号 /// public static string UserCode { get { return _usercode; } set { _usercode = value; } } /// /// 用户名称 /// public static string UserName { get { return _username; } set { _username = value; } } /// /// 组名称 /// public static string UserGroupName { get { return _usergroup; } set { _usergroup = value; } } /// /// 用户所在部门 /// public static string DeptName { get { return _deptname; } set { _deptname = value; } } /// /// 用户类型 /// public static EnumStatus.UserKind UserKind { get { return _userkind; } set { _userkind = value; } } /// /// 密钥 /// public static string Session { get { return _session; } set { _session = value; } } /// /// 数据刷新间隔 /// public static int Interval { get { return UserBuffer._interval; } set { UserBuffer._interval = value; } } } }