Users.cs
上传用户:simon2hong
上传日期:2021-11-18
资源大小:16746k
文件大小:22k
- //------------------------------------------------------------------------------
- // 创建标识: Copyright (C) 2009 Socansoft.com 版权所有
- // 创建描述: SocanCode代码生成器 V4.3.2.3 自动创建于 2009-11-11 19:08:07
- //
- // 功能描述:
- //
- // 修改标识:
- // 修改描述:
- //------------------------------------------------------------------------------
- using System;
- namespace Model
- {
- /// <summary>
- /// 实体类 Users
- /// </summary>
- [Serializable]
- public class Users
- {
- public Users()
- { }
- /// <summary>
- /// 构造函数 Users
- /// </summary>
- /// <param name="id">Id</param>
- /// <param name="userId">用户Id(用户登录名)</param>
-
- /// <param name="userId2">用户别名 </param>
-
- /// <param name="userNo">序号</param>
- /// <param name="userName">姓名</param>
- /// <param name="password">密码(MD5加密) </param>
-
- /// <param name="privId">角色Id(对应User_Priv表PrivId)</param>
-
- /// <param name="privId2">辅助角色</param>
- /// <param name="postPriv">管理范围(部门Id列表,“,”分隔)</param>
-
- /// <param name="postDept">管理范围(0本部门,1全体,2指定部门)</param>
-
- /// <param name="deptId">部门Id(对应Department表DeptId)</param>
-
- /// <param name="deptId2">辅助部门</param>
- /// <param name="canBroadcast">CanBroadcast</param>
- /// <param name="sex">性别</param>
- /// <param name="birthday">生日</param>
- /// <param name="isHideBirthday">生日不公开 </param>
-
- /// <param name="telNoDept">单位电话 </param>
-
- /// <param name="faxNoDept">单位传真 </param>
-
- /// <param name="addressHome">家庭住址 </param>
-
- /// <param name="zipHome">家庭邮编 </param>
-
- /// <param name="telHome">家庭电话 </param>
-
- /// <param name="mobile">手机 </param>
-
- /// <param name="isHideMobile">手机号码不公开(1不公开,公开)</param>
-
- /// <param name="bp">小灵通 </param>
-
- /// <param name="email">电子邮件 </param>
-
- /// <param name="oicq">OICQ号码 </param>
-
- /// <param name="icq">ICQ号码 </param>
-
- /// <param name="msn">Msn</param>
- /// <param name="skype">Skype </param>
-
- /// <param name="photo">个人照片 </param>
-
- /// <param name="nickName">昵称 </param>
-
- /// <param name="avatar">头像 </param>
-
- /// <param name="menuType">登录模式(1在新窗口打开OA(1在新窗,无工具栏,0在本窗口打开OA)口打开OA,无工具栏,0在本窗口打开OA) </param>
-
- /// <param name="menuHide">是否隐藏登陆模式</param>
- /// <param name="smsOn">短信息提醒窗口弹出方式(1自动,0手动)</param>
-
- /// <param name="callSound">短信息提示音</param>
- /// <param name="theme">界面主题 </param>
-
- /// <param name="note">便签 </param>
-
- /// <param name="mytableLeft">左侧桌面模块 </param>
-
- /// <param name="mytableRight">右侧桌面模块 </param>
-
- /// <param name="emailCapacity">内部邮箱容量(单位M,-1为不限制)</param>
-
- /// <param name="folderCapacity">个人文件柜容量(单位M,-1为不限制)</param>
-
- /// <param name="onlineTime">在线时长,单位分钟 </param>
-
- /// <param name="dutyType">排班类型 </param>
-
- /// <param name="attendCard">考勤卡号 </param>
-
- /// <param name="state">在线状态(0离线,1联机,2忙碌,3离开)</param>
-
- /// <param name="lastPassTime">最后访问时间 </param>
-
- /// <param name="lastVisitTime">最后登录时间 </param>
-
- /// <param name="lastIp">最后访问IP </param>
-
- /// <param name="disabled">帐户是否禁用(1禁用,0启用)</param>
-
- /// <param name="bindIp">绑定IP地址 </param>
-
- /// <param name="usingKey">UsingKey</param>
- /// <param name="uGuid">UGuid</param>
- /// <param name="uKey">UKey</param>
- /// <param name="uExt">UExt</param>
- /// <param name="notUser">禁止查看用户列表 </param>
-
- /// <param name="notTable">禁止显示桌面 </param>
-
- /// <param name="defaultMenu">默认展开菜单 </param>
-
- /// <param name="tablePhoto">桌面背景图片 </param>
-
- /// <param name="webmailNum">Internet邮箱数量(单位M,-1为不限制)</param>
-
- /// <param name="webmailCapacity">每个Internet邮箱容量(单位M,-1为不限制)</param>
-
- /// <param name="adUserId">AdUserId</param>
- /// <param name="usingAd">UsingAd</param>
- public Users(int id, string userId, string userId2, int userNo, string userName, string password, int privId, string privId2, string postPriv, string postDept, int deptId, string deptId2, bool canBroadcast, bool sex, DateTime birthday, bool isHideBirthday, string telNoDept, string faxNoDept, string addressHome, string zipHome, string telHome, string mobile, bool isHideMobile, string bp, string email, string oicq, string icq, string msn, string skype, string photo, string nickName, int avatar, bool menuType, bool menuHide, bool smsOn, int callSound, int theme, string note, string mytableLeft, string mytableRight, int emailCapacity, int folderCapacity, float onlineTime, int dutyType, string attendCard, int state, DateTime lastPassTime, DateTime lastVisitTime, string lastIp, bool disabled, string bindIp, bool usingKey, string uGuid, string uKey, string uExt, int notUser, int notTable, string defaultMenu, string tablePhoto, int webmailNum, int webmailCapacity, string adUserId, bool usingAd)
- {
- _id = id;
- _userId = userId;
- _userId2 = userId2;
- _userNo = userNo;
- _userName = userName;
- _password = password;
- _privId = privId;
- _privId2 = privId2;
- _postPriv = postPriv;
- _postDept = postDept;
- _deptId = deptId;
- _deptId2 = deptId2;
- _canBroadcast = canBroadcast;
- _sex = sex;
- _birthday = birthday;
- _isHideBirthday = isHideBirthday;
- _telNoDept = telNoDept;
- _faxNoDept = faxNoDept;
- _addressHome = addressHome;
- _zipHome = zipHome;
- _telHome = telHome;
- _mobile = mobile;
- _isHideMobile = isHideMobile;
- _bp = bp;
- _email = email;
- _oicq = oicq;
- _icq = icq;
- _msn = msn;
- _skype = skype;
- _photo = photo;
- _nickName = nickName;
- _avatar = avatar;
- _menuType = menuType;
- _menuHide = menuHide;
- _smsOn = smsOn;
- _callSound = callSound;
- _theme = theme;
- _note = note;
- _mytableLeft = mytableLeft;
- _mytableRight = mytableRight;
- _emailCapacity = emailCapacity;
- _folderCapacity = folderCapacity;
- _onlineTime = onlineTime;
- _dutyType = dutyType;
- _attendCard = attendCard;
- _state = state;
- _lastPassTime = lastPassTime;
- _lastVisitTime = lastVisitTime;
- _lastIp = lastIp;
- _disabled = disabled;
- _bindIp = bindIp;
- _usingKey = usingKey;
- _uGuid = uGuid;
- _uKey = uKey;
- _uExt = uExt;
- _notUser = notUser;
- _notTable = notTable;
- _defaultMenu = defaultMenu;
- _tablePhoto = tablePhoto;
- _webmailNum = webmailNum;
- _webmailCapacity = webmailCapacity;
- _adUserId = adUserId;
- _usingAd = usingAd;
- }
- #region Model
- private int _id;
- private string _userId;
- private string _userId2;
- private int _userNo;
- private string _userName;
- private string _password;
- private int _privId;
- private string _privId2;
- private string _postPriv;
- private string _postDept;
- private int _deptId;
- private string _deptId2;
- private bool _canBroadcast;
- private bool _sex;
- private DateTime _birthday;
- private bool _isHideBirthday;
- private string _telNoDept;
- private string _faxNoDept;
- private string _addressHome;
- private string _zipHome;
- private string _telHome;
- private string _mobile;
- private bool _isHideMobile;
- private string _bp;
- private string _email;
- private string _oicq;
- private string _icq;
- private string _msn;
- private string _skype;
- private string _photo;
- private string _nickName;
- private int _avatar;
- private bool _menuType;
- private bool _menuHide;
- private bool _smsOn;
- private int _callSound;
- private int _theme;
- private string _note;
- private string _mytableLeft;
- private string _mytableRight;
- private int _emailCapacity;
- private int _folderCapacity;
- private float _onlineTime;
- private int _dutyType;
- private string _attendCard;
- private int _state;
- private DateTime _lastPassTime;
- private DateTime _lastVisitTime;
- private string _lastIp;
- private bool _disabled;
- private string _bindIp;
- private bool _usingKey;
- private string _uGuid;
- private string _uKey;
- private string _uExt;
- private int _notUser;
- private int _notTable;
- private string _defaultMenu;
- private string _tablePhoto;
- private int _webmailNum;
- private int _webmailCapacity;
- private string _adUserId;
- private bool _usingAd;
- private string _emailSite;
- /// <summary>
- /// Id
- /// </summary>
- public int Id
- {
- set { _id = value; }
- get { return _id; }
- }
- /// <summary>
- /// 用户Id(用户登录名)
- /// </summary>
- public string UserId
- {
- set { _userId = value; }
- get { return _userId; }
- }
- /// <summary>
- /// 用户别名
- /// </summary>
- public string UserId2
- {
- set { _userId2 = value; }
- get { return _userId2; }
- }
- /// <summary>
- /// 序号
- /// </summary>
- public int UserNo
- {
- set { _userNo = value; }
- get { return _userNo; }
- }
- /// <summary>
- /// 姓名
- /// </summary>
- public string UserName
- {
- set { _userName = value; }
- get { return _userName; }
- }
- /// <summary>
- /// 密码(MD5加密)
- /// </summary>
- public string Password
- {
- set { _password = value; }
- get { return _password; }
- }
- /// <summary>
- /// 角色Id(对应User_Priv表PrivId)
- /// </summary>
- public int PrivId
- {
- set { _privId = value; }
- get { return _privId; }
- }
- /// <summary>
- /// 辅助角色
- /// </summary>
- public string PrivId2
- {
- set { _privId2 = value; }
- get { return _privId2; }
- }
- /// <summary>
- /// 管理范围(部门Id列表,“,”分隔)
- /// </summary>
- public string PostPriv
- {
- set { _postPriv = value; }
- get { return _postPriv; }
- }
- /// <summary>
- /// 管理范围(0本部门,1全体,2指定部门)
- /// </summary>
- public string PostDept
- {
- set { _postDept = value; }
- get { return _postDept; }
- }
- /// <summary>
- /// 部门Id(对应Department表DeptId)
- /// </summary>
- public int DeptId
- {
- set { _deptId = value; }
- get { return _deptId; }
- }
- /// <summary>
- /// 辅助部门
- /// </summary>
- public string DeptId2
- {
- set { _deptId2 = value; }
- get { return _deptId2; }
- }
- /// <summary>
- /// CanBroadcast
- /// </summary>
- public bool CanBroadcast
- {
- set { _canBroadcast = value; }
- get { return _canBroadcast; }
- }
- /// <summary>
- /// 性别
- /// </summary>
- public bool Sex
- {
- set { _sex = value; }
- get { return _sex; }
- }
- /// <summary>
- /// 生日
- /// </summary>
- public DateTime Birthday
- {
- set { _birthday = value; }
- get { return _birthday; }
- }
- /// <summary>
- /// 生日不公开
- /// </summary>
- public bool IsHideBirthday
- {
- set { _isHideBirthday = value; }
- get { return _isHideBirthday; }
- }
- /// <summary>
- /// 单位电话
- /// </summary>
- public string TelNoDept
- {
- set { _telNoDept = value; }
- get { return _telNoDept; }
- }
- /// <summary>
- /// 单位传真
- /// </summary>
- public string FaxNoDept
- {
- set { _faxNoDept = value; }
- get { return _faxNoDept; }
- }
- /// <summary>
- /// 家庭住址
- /// </summary>
- public string AddressHome
- {
- set { _addressHome = value; }
- get { return _addressHome; }
- }
- /// <summary>
- /// 家庭邮编
- /// </summary>
- public string ZipHome
- {
- set { _zipHome = value; }
- get { return _zipHome; }
- }
- /// <summary>
- /// 家庭电话
- /// </summary>
- public string TelHome
- {
- set { _telHome = value; }
- get { return _telHome; }
- }
- /// <summary>
- /// 手机
- /// </summary>
- public string Mobile
- {
- set { _mobile = value; }
- get { return _mobile; }
- }
- /// <summary>
- /// 手机号码不公开(1不公开,公开)
- /// </summary>
- public bool IsHideMobile
- {
- set { _isHideMobile = value; }
- get { return _isHideMobile; }
- }
- /// <summary>
- /// 小灵通
- /// </summary>
- public string Bp
- {
- set { _bp = value; }
- get { return _bp; }
- }
- /// <summary>
- /// 电子邮件
- /// </summary>
- public string Email
- {
- set { _email = value; }
- get { return _email; }
- }
- /// <summary>
- /// OICQ号码
- /// </summary>
- public string Oicq
- {
- set { _oicq = value; }
- get { return _oicq; }
- }
- /// <summary>
- /// ICQ号码
- /// </summary>
- public string Icq
- {
- set { _icq = value; }
- get { return _icq; }
- }
- /// <summary>
- /// Msn
- /// </summary>
- public string Msn
- {
- set { _msn = value; }
- get { return _msn; }
- }
- /// <summary>
- /// Skype
- /// </summary>
- public string Skype
- {
- set { _skype = value; }
- get { return _skype; }
- }
- /// <summary>
- /// 个人照片
- /// </summary>
- public string Photo
- {
- set { _photo = value; }
- get { return _photo; }
- }
- /// <summary>
- /// 昵称
- /// </summary>
- public string NickName
- {
- set { _nickName = value; }
- get { return _nickName; }
- }
- /// <summary>
- /// 头像
- /// </summary>
- public int Avatar
- {
- set { _avatar = value; }
- get { return _avatar; }
- }
- /// <summary>
- /// 登录模式(1在新窗口打开OA,无工具栏,0在本窗口打开OA)(1在新窗口打开OA,无工具栏,0在本窗口打开OA)
- /// </summary>
- public bool MenuType
- {
- set { _menuType = value; }
- get { return _menuType; }
- }
- /// <summary>
- /// 是否隐藏登陆模式
- /// </summary>
- public bool MenuHide
- {
- set { _menuHide = value; }
- get { return _menuHide; }
- }
- /// <summary>
- /// 短信息提醒窗口弹出方式(1自动,0手动)
- /// </summary>
- public bool SmsOn
- {
- set { _smsOn = value; }
- get { return _smsOn; }
- }
- /// <summary>
- /// 短信息提示音
- /// </summary>
- public int CallSound
- {
- set { _callSound = value; }
- get { return _callSound; }
- }
- /// <summary>
- /// 界面主题
- /// </summary>
- public int Theme
- {
- set { _theme = value; }
- get { return _theme; }
- }
- /// <summary>
- /// 便签
- /// </summary>
- public string Note
- {
- set { _note = value; }
- get { return _note; }
- }
- /// <summary>
- /// 左侧桌面模块
- /// </summary>
- public string MytableLeft
- {
- set { _mytableLeft = value; }
- get { return _mytableLeft; }
- }
- /// <summary>
- /// 右侧桌面模块
- /// </summary>
- public string MytableRight
- {
- set { _mytableRight = value; }
- get { return _mytableRight; }
- }
- /// <summary>
- /// 内部邮箱容量(单位M,-1为不限制)
- /// </summary>
- public int EmailCapacity
- {
- set { _emailCapacity = value; }
- get { return _emailCapacity; }
- }
- /// <summary>
- /// 个人文件柜容量(单位M,-1为不限制)
- /// </summary>
- public int FolderCapacity
- {
- set { _folderCapacity = value; }
- get { return _folderCapacity; }
- }
- /// <summary>
- /// 在线时长,单位分钟
- /// </summary>
- public float OnlineTime
- {
- set { _onlineTime = value; }
- get { return _onlineTime; }
- }
- /// <summary>
- /// 排班类型
- /// </summary>
- public int DutyType
- {
- set { _dutyType = value; }
- get { return _dutyType; }
- }
- /// <summary>
- /// 考勤卡号
- /// </summary>
- public string AttendCard
- {
- set { _attendCard = value; }
- get { return _attendCard; }
- }
- /// <summary>
- /// 在线状态(0离线,1联机,2忙碌,3离开)
- /// </summary>
- public int State
- {
- set { _state = value; }
- get { return _state; }
- }
- /// <summary>
- /// 最后访问时间
- /// </summary>
- public DateTime LastPassTime
- {
- set { _lastPassTime = value; }
- get { return _lastPassTime; }
- }
- /// <summary>
- /// 最后登录时间
- /// </summary>
- public DateTime LastVisitTime
- {
- set { _lastVisitTime = value; }
- get { return _lastVisitTime; }
- }
- /// <summary>
- /// 最后访问IP
- /// </summary>
- public string LastIp
- {
- set { _lastIp = value; }
- get { return _lastIp; }
- }
- /// <summary>
- /// 帐户是否禁用(1禁用,0启用)
- /// </summary>
- public bool Disabled
- {
- set { _disabled = value; }
- get { return _disabled; }
- }
- /// <summary>
- /// 绑定IP地址
- /// </summary>
- public string BindIp
- {
- set { _bindIp = value; }
- get { return _bindIp; }
- }
- /// <summary>
- /// UsingKey
- /// </summary>
- public bool UsingKey
- {
- set { _usingKey = value; }
- get { return _usingKey; }
- }
- /// <summary>
- /// UGuid
- /// </summary>
- public string UGuid
- {
- set { _uGuid = value; }
- get { return _uGuid; }
- }
- /// <summary>
- /// UKey
- /// </summary>
- public string UKey
- {
- set { _uKey = value; }
- get { return _uKey; }
- }
- /// <summary>
- /// UExt
- /// </summary>
- public string UExt
- {
- set { _uExt = value; }
- get { return _uExt; }
- }
- /// <summary>
- /// 禁止查看用户列表
- /// </summary>
- public int NotUser
- {
- set { _notUser = value; }
- get { return _notUser; }
- }
- /// <summary>
- /// 禁止显示桌面
- /// </summary>
- public int NotTable
- {
- set { _notTable = value; }
- get { return _notTable; }
- }
- /// <summary>
- /// 默认展开菜单
- /// </summary>
- public string DefaultMenu
- {
- set { _defaultMenu = value; }
- get { return _defaultMenu; }
- }
- /// <summary>
- /// 桌面背景图片
- /// </summary>
- public string TablePhoto
- {
- set { _tablePhoto = value; }
- get { return _tablePhoto; }
- }
- /// <summary>
- /// Internet邮箱数量(单位M,-1为不限制)
- /// </summary>
- public int WebmailNum
- {
- set { _webmailNum = value; }
- get { return _webmailNum; }
- }
- /// <summary>
- /// 每个Internet邮箱容量(单位M,-1为不限制)
- /// </summary>
- public int WebmailCapacity
- {
- set { _webmailCapacity = value; }
- get { return _webmailCapacity; }
- }
- /// <summary>
- /// AdUserId
- /// </summary>
- public string AdUserId
- {
- set { _adUserId = value; }
- get { return _adUserId; }
- }
- /// <summary>
- /// UsingAd
- /// </summary>
- public bool UsingAd
- {
- set { _usingAd = value; }
- get { return _usingAd; }
- }
- /// <summary>
- /// 外网邮箱地址
- /// </summary>
- public string EmailSite
- {
- set { _emailSite = value; }
- get { return _emailSite; }
- }
- #endregion Model
- }
- }