users.cs
资源名称:OASystem.rar [点击查看]
上传用户:lishan0805
上传日期:2019-12-08
资源大小:12048k
文件大小:10k
源码类别:
OA系统
开发平台:
C#
- // ===================================================================
- // 实体(COM.OA.Entity)项目
- //====================================================================
- // wangyp @Copy Right 2006-2008
- // 文件users.cs
- // 项目名称:工程项目管理
- // 创建时间:2008-9-23
- // 负责人:wangyp
- // ===================================================================
- using System;
- using System.Collections.Generic;
- namespace COM.OA.Entity
- {
- /// <summary>
- ///
- /// </summary>
- [Serializable]
- public class users
- {
- #region 变量定义
- ///<summary>
- ///用户id
- ///</summary>
- private int _u_id;
- ///<summary>
- ///用户名
- ///</summary>
- private string _u_username = String.Empty;
- ///<summary>
- ///密码
- ///</summary>
- private string _u_password = String.Empty;
- ///<summary>
- ///部门id(外键)
- ///</summary>
- private int _u_dept_id;
- ///<summary>
- ///员工(档案)id(外键)
- ///</summary>
- private int _u_em_id;
- ///<summary>
- ///状态(是否在线)
- ///</summary>
- private int _u_state;
- ///<summary>
- ///登陆时间
- ///</summary>
- private DateTime _u_logintime;
- ///<summary>
- ///登陆次数
- ///</summary>
- private int _u_logindegree;
- ///<summary>
- ///密码绑定
- ///</summary>
- private string _u_pwdbind = String.Empty;
- ///<summary>
- ///所在群id(外键)
- ///</summary>
- private int _u_g_id;
- ///<summary>
- ///登陆ip
- ///</summary>
- private string _u_landip = String.Empty;
- ///<summary>
- ///
- ///</summary>
- private employee _employee = null;
- ///<summary>
- ///
- ///</summary>
- private groups _groups = null;
- ///<summary>
- ///
- ///</summary>
- private department _department = null;
- ///<summary>
- ///
- ///</summary>
- private IList<addresslist> _addresslist = null;
- ///<summary>
- ///
- ///</summary>
- private IList<attendance> _attendance = null;
- ///<summary>
- ///
- ///</summary>
- private IList<bbsrevert> _bbsrevert = null;
- ///<summary>
- ///
- ///</summary>
- private IList<document> _document = null;
- ///<summary>
- ///
- ///</summary>
- private IList<examine> _examine = null;
- ///<summary>
- ///
- ///</summary>
- private IList<filerevert> _filerevert = null;
- ///<summary>
- ///
- ///</summary>
- private IList<files> _files = null;
- ///<summary>
- ///
- ///</summary>
- private IList<message> _message = null;
- ///<summary>
- ///
- ///</summary>
- private IList<news> _news = null;
- ///<summary>
- ///
- ///</summary>
- private IList<operate> _operate = null;
- ///<summary>
- ///
- ///</summary>
- private IList<sendword> _sendword = null;
- ///<summary>
- ///
- ///</summary>
- private IList<timeorder> _timeorder = null;
- ///<summary>
- ///
- ///</summary>
- private IList<worklog> _worklog = null;
- ///<summary>
- ///
- ///</summary>
- private IList<worksumup> _worksumup = null;
- #endregion
- #region 构造函数
- ///<summary>
- ///
- ///</summary>
- public users()
- {
- }
- ///<summary>
- ///
- ///</summary>
- public users
- (
- int u_id,
- string u_username,
- string u_password,
- int u_dept_id,
- int u_em_id,
- int u_state,
- DateTime u_logintime,
- int u_logindegree,
- string u_pwdbind,
- int u_g_id,
- string u_landip
- )
- {
- _u_id = u_id;
- _u_username = u_username;
- _u_password = u_password;
- _u_dept_id = u_dept_id;
- _u_em_id = u_em_id;
- _u_state = u_state;
- _u_logintime = u_logintime;
- _u_logindegree = u_logindegree;
- _u_pwdbind = u_pwdbind;
- _u_g_id = u_g_id;
- _u_landip = u_landip;
- }
- #endregion
- #region 公共属性
- ///<summary>
- ///用户id
- ///</summary>
- public int u_id
- {
- get { return _u_id; }
- set { _u_id = value; }
- }
- ///<summary>
- ///用户名
- ///</summary>
- public string u_username
- {
- get { return _u_username; }
- set { _u_username = value; }
- }
- ///<summary>
- ///密码
- ///</summary>
- public string u_password
- {
- get { return _u_password; }
- set { _u_password = value; }
- }
- ///<summary>
- ///部门id(外键)
- ///</summary>
- public int u_dept_id
- {
- get { return _u_dept_id; }
- set { _u_dept_id = value; }
- }
- ///<summary>
- ///员工(档案)id(外键)
- ///</summary>
- public int u_em_id
- {
- get { return _u_em_id; }
- set { _u_em_id = value; }
- }
- ///<summary>
- ///状态(是否在线)
- ///</summary>
- public int u_state
- {
- get { return _u_state; }
- set { _u_state = value; }
- }
- ///<summary>
- ///登陆时间
- ///</summary>
- public DateTime u_logintime
- {
- get { return _u_logintime; }
- set { _u_logintime = value; }
- }
- ///<summary>
- ///登陆次数
- ///</summary>
- public int u_logindegree
- {
- get { return _u_logindegree; }
- set { _u_logindegree = value; }
- }
- ///<summary>
- ///密码绑定
- ///</summary>
- public string u_pwdbind
- {
- get { return _u_pwdbind; }
- set { _u_pwdbind = value; }
- }
- ///<summary>
- ///所在群id(外键)
- ///</summary>
- public int u_g_id
- {
- get { return _u_g_id; }
- set { _u_g_id = value; }
- }
- ///<summary>
- ///登陆ip
- ///</summary>
- public string u_landip
- {
- get { return _u_landip; }
- set { _u_landip = value; }
- }
- ///<summary>
- ///
- ///</summary>
- public employee employee
- {
- get { return _employee; }
- set { _employee = value; }
- }
- ///<summary>
- ///
- ///</summary>
- public groups groups
- {
- get { return _groups; }
- set { _groups = value; }
- }
- ///<summary>
- ///
- ///</summary>
- public department department
- {
- get { return _department; }
- set { _department = value; }
- }
- ///<summary>
- ///
- ///</summary>
- public IList<addresslist> addresslist
- {
- get { return _addresslist; }
- set { _addresslist = value; }
- }
- ///<summary>
- ///
- ///</summary>
- public IList<attendance> attendance
- {
- get { return _attendance; }
- set { _attendance = value; }
- }
- ///<summary>
- ///
- ///</summary>
- public IList<bbsrevert> bbsrevert
- {
- get { return _bbsrevert; }
- set { _bbsrevert = value; }
- }
- ///<summary>
- ///
- ///</summary>
- public IList<document> document
- {
- get { return _document; }
- set { _document = value; }
- }
- ///<summary>
- ///
- ///</summary>
- public IList<examine> examine
- {
- get { return _examine; }
- set { _examine = value; }
- }
- ///<summary>
- ///
- ///</summary>
- public IList<filerevert> filerevert
- {
- get { return _filerevert; }
- set { _filerevert = value; }
- }
- ///<summary>
- ///
- ///</summary>
- public IList<files> files
- {
- get { return _files; }
- set { _files = value; }
- }
- ///<summary>
- ///
- ///</summary>
- public IList<message> message
- {
- get { return _message; }
- set { _message = value; }
- }
- ///<summary>
- ///
- ///</summary>
- public IList<news> news
- {
- get { return _news; }
- set { _news = value; }
- }
- ///<summary>
- ///
- ///</summary>
- public IList<operate> operate
- {
- get { return _operate; }
- set { _operate = value; }
- }
- ///<summary>
- ///
- ///</summary>
- public IList<sendword> sendword
- {
- get { return _sendword; }
- set { _sendword = value; }
- }
- ///<summary>
- ///
- ///</summary>
- public IList<timeorder> timeorder
- {
- get { return _timeorder; }
- set { _timeorder = value; }
- }
- ///<summary>
- ///
- ///</summary>
- public IList<worklog> worklog
- {
- get { return _worklog; }
- set { _worklog = value; }
- }
- ///<summary>
- ///
- ///</summary>
- public IList<worksumup> worksumup
- {
- get { return _worksumup; }
- set { _worksumup = value; }
- }
- #endregion
- }
- }