天津投入产出系统后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

230 lines
4.5 KiB

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