users.cs
上传用户:lishan0805
上传日期:2019-12-08
资源大小:12048k
文件大小:10k
源码类别:

OA系统

开发平台:

C#

  1. // =================================================================== 
  2. // 实体(COM.OA.Entity)项目
  3. //====================================================================
  4. // wangyp @Copy Right 2006-2008
  5. // 文件users.cs
  6. // 项目名称:工程项目管理
  7. // 创建时间:2008-9-23
  8. // 负责人:wangyp
  9. // ===================================================================
  10. using System;
  11. using System.Collections.Generic;
  12. namespace COM.OA.Entity
  13. {
  14.     /// <summary>
  15.     ///
  16.     /// </summary>
  17.     [Serializable]
  18.     public class users
  19.     {
  20.         #region 变量定义
  21.         ///<summary>
  22.         ///用户id
  23.         ///</summary>
  24.         private int _u_id;
  25.         ///<summary>
  26.         ///用户名
  27.         ///</summary>
  28.         private string _u_username = String.Empty;
  29.         ///<summary>
  30.         ///密码
  31.         ///</summary>
  32.         private string _u_password = String.Empty;
  33.         ///<summary>
  34.         ///部门id(外键)
  35.         ///</summary>
  36.         private int _u_dept_id;
  37.         ///<summary>
  38.         ///员工(档案)id(外键)
  39.         ///</summary>
  40.         private int _u_em_id;
  41.         ///<summary>
  42.         ///状态(是否在线)
  43.         ///</summary>
  44.         private int _u_state;
  45.         ///<summary>
  46.         ///登陆时间
  47.         ///</summary>
  48.         private DateTime _u_logintime;
  49.         ///<summary>
  50.         ///登陆次数
  51.         ///</summary>
  52.         private int _u_logindegree;
  53.         ///<summary>
  54.         ///密码绑定
  55.         ///</summary>
  56.         private string _u_pwdbind = String.Empty;
  57.         ///<summary>
  58.         ///所在群id(外键)
  59.         ///</summary>
  60.         private int _u_g_id;
  61.         ///<summary>
  62.         ///登陆ip
  63.         ///</summary>
  64.         private string _u_landip = String.Empty;
  65.         ///<summary>
  66.         ///
  67.         ///</summary>
  68.         private employee _employee = null;
  69.         ///<summary>
  70.         ///
  71.         ///</summary>
  72.         private groups _groups = null;
  73.         ///<summary>
  74.         ///
  75.         ///</summary>
  76.         private department _department = null;
  77.         ///<summary>
  78.         ///
  79.         ///</summary>
  80.         private IList<addresslist> _addresslist = null;
  81.         ///<summary>
  82.         ///
  83.         ///</summary>
  84.         private IList<attendance> _attendance = null;
  85.         ///<summary>
  86.         ///
  87.         ///</summary>
  88.         private IList<bbsrevert> _bbsrevert = null;
  89.         ///<summary>
  90.         ///
  91.         ///</summary>
  92.         private IList<document> _document = null;
  93.         ///<summary>
  94.         ///
  95.         ///</summary>
  96.         private IList<examine> _examine = null;
  97.         ///<summary>
  98.         ///
  99.         ///</summary>
  100.         private IList<filerevert> _filerevert = null;
  101.         ///<summary>
  102.         ///
  103.         ///</summary>
  104.         private IList<files> _files = null;
  105.         ///<summary>
  106.         ///
  107.         ///</summary>
  108.         private IList<message> _message = null;
  109.         ///<summary>
  110.         ///
  111.         ///</summary>
  112.         private IList<news> _news = null;
  113.         ///<summary>
  114.         ///
  115.         ///</summary>
  116.         private IList<operate> _operate = null;
  117.         ///<summary>
  118.         ///
  119.         ///</summary>
  120.         private IList<sendword> _sendword = null;
  121.         ///<summary>
  122.         ///
  123.         ///</summary>
  124.         private IList<timeorder> _timeorder = null;
  125.         ///<summary>
  126.         ///
  127.         ///</summary>
  128.         private IList<worklog> _worklog = null;
  129.         ///<summary>
  130.         ///
  131.         ///</summary>
  132.         private IList<worksumup> _worksumup = null;
  133.         #endregion
  134.         #region 构造函数
  135.         ///<summary>
  136.         ///
  137.         ///</summary>
  138.         public users()
  139.         {
  140.         }
  141.         ///<summary>
  142.         ///
  143.         ///</summary>
  144.         public users
  145.         (
  146.             int u_id,
  147.             string u_username,
  148.             string u_password,
  149.             int u_dept_id,
  150.             int u_em_id,
  151.             int u_state,
  152.             DateTime u_logintime,
  153.             int u_logindegree,
  154.             string u_pwdbind,
  155.             int u_g_id,
  156.             string u_landip
  157.         )
  158.         {
  159.             _u_id = u_id;
  160.             _u_username = u_username;
  161.             _u_password = u_password;
  162.             _u_dept_id = u_dept_id;
  163.             _u_em_id = u_em_id;
  164.             _u_state = u_state;
  165.             _u_logintime = u_logintime;
  166.             _u_logindegree = u_logindegree;
  167.             _u_pwdbind = u_pwdbind;
  168.             _u_g_id = u_g_id;
  169.             _u_landip = u_landip;
  170.         }
  171.         #endregion
  172.         #region 公共属性
  173.         ///<summary>
  174.         ///用户id
  175.         ///</summary>
  176.         public int u_id
  177.         {
  178.             get { return _u_id; }
  179.             set { _u_id = value; }
  180.         }
  181.         ///<summary>
  182.         ///用户名
  183.         ///</summary>
  184.         public string u_username
  185.         {
  186.             get { return _u_username; }
  187.             set { _u_username = value; }
  188.         }
  189.         ///<summary>
  190.         ///密码
  191.         ///</summary>
  192.         public string u_password
  193.         {
  194.             get { return _u_password; }
  195.             set { _u_password = value; }
  196.         }
  197.         ///<summary>
  198.         ///部门id(外键)
  199.         ///</summary>
  200.         public int u_dept_id
  201.         {
  202.             get { return _u_dept_id; }
  203.             set { _u_dept_id = value; }
  204.         }
  205.         ///<summary>
  206.         ///员工(档案)id(外键)
  207.         ///</summary>
  208.         public int u_em_id
  209.         {
  210.             get { return _u_em_id; }
  211.             set { _u_em_id = value; }
  212.         }
  213.         ///<summary>
  214.         ///状态(是否在线)
  215.         ///</summary>
  216.         public int u_state
  217.         {
  218.             get { return _u_state; }
  219.             set { _u_state = value; }
  220.         }
  221.         ///<summary>
  222.         ///登陆时间
  223.         ///</summary>
  224.         public DateTime u_logintime
  225.         {
  226.             get { return _u_logintime; }
  227.             set { _u_logintime = value; }
  228.         }
  229.         ///<summary>
  230.         ///登陆次数
  231.         ///</summary>
  232.         public int u_logindegree
  233.         {
  234.             get { return _u_logindegree; }
  235.             set { _u_logindegree = value; }
  236.         }
  237.         ///<summary>
  238.         ///密码绑定
  239.         ///</summary>
  240.         public string u_pwdbind
  241.         {
  242.             get { return _u_pwdbind; }
  243.             set { _u_pwdbind = value; }
  244.         }
  245.         ///<summary>
  246.         ///所在群id(外键)
  247.         ///</summary>
  248.         public int u_g_id
  249.         {
  250.             get { return _u_g_id; }
  251.             set { _u_g_id = value; }
  252.         }
  253.         ///<summary>
  254.         ///登陆ip
  255.         ///</summary>
  256.         public string u_landip
  257.         {
  258.             get { return _u_landip; }
  259.             set { _u_landip = value; }
  260.         }
  261.         ///<summary>
  262.         ///
  263.         ///</summary>
  264.         public employee employee
  265.         {
  266.             get { return _employee; }
  267.             set { _employee = value; }
  268.         }
  269.         ///<summary>
  270.         ///
  271.         ///</summary>
  272.         public groups groups
  273.         {
  274.             get { return _groups; }
  275.             set { _groups = value; }
  276.         }
  277.         ///<summary>
  278.         ///
  279.         ///</summary>
  280.         public department department
  281.         {
  282.             get { return _department; }
  283.             set { _department = value; }
  284.         }
  285.         ///<summary>
  286.         ///
  287.         ///</summary>
  288.         public IList<addresslist> addresslist
  289.         {
  290.             get { return _addresslist; }
  291.             set { _addresslist = value; }
  292.         }
  293.         ///<summary>
  294.         ///
  295.         ///</summary>
  296.         public IList<attendance> attendance
  297.         {
  298.             get { return _attendance; }
  299.             set { _attendance = value; }
  300.         }
  301.         ///<summary>
  302.         ///
  303.         ///</summary>
  304.         public IList<bbsrevert> bbsrevert
  305.         {
  306.             get { return _bbsrevert; }
  307.             set { _bbsrevert = value; }
  308.         }
  309.         ///<summary>
  310.         ///
  311.         ///</summary>
  312.         public IList<document> document
  313.         {
  314.             get { return _document; }
  315.             set { _document = value; }
  316.         }
  317.         ///<summary>
  318.         ///
  319.         ///</summary>
  320.         public IList<examine> examine
  321.         {
  322.             get { return _examine; }
  323.             set { _examine = value; }
  324.         }
  325.         ///<summary>
  326.         ///
  327.         ///</summary>
  328.         public IList<filerevert> filerevert
  329.         {
  330.             get { return _filerevert; }
  331.             set { _filerevert = value; }
  332.         }
  333.         ///<summary>
  334.         ///
  335.         ///</summary>
  336.         public IList<files> files
  337.         {
  338.             get { return _files; }
  339.             set { _files = value; }
  340.         }
  341.         ///<summary>
  342.         ///
  343.         ///</summary>
  344.         public IList<message> message
  345.         {
  346.             get { return _message; }
  347.             set { _message = value; }
  348.         }
  349.         ///<summary>
  350.         ///
  351.         ///</summary>
  352.         public IList<news> news
  353.         {
  354.             get { return _news; }
  355.             set { _news = value; }
  356.         }
  357.         ///<summary>
  358.         ///
  359.         ///</summary>
  360.         public IList<operate> operate
  361.         {
  362.             get { return _operate; }
  363.             set { _operate = value; }
  364.         }
  365.         ///<summary>
  366.         ///
  367.         ///</summary>
  368.         public IList<sendword> sendword
  369.         {
  370.             get { return _sendword; }
  371.             set { _sendword = value; }
  372.         }
  373.         ///<summary>
  374.         ///
  375.         ///</summary>
  376.         public IList<timeorder> timeorder
  377.         {
  378.             get { return _timeorder; }
  379.             set { _timeorder = value; }
  380.         }
  381.         ///<summary>
  382.         ///
  383.         ///</summary>
  384.         public IList<worklog> worklog
  385.         {
  386.             get { return _worklog; }
  387.             set { _worklog = value; }
  388.         }
  389.         ///<summary>
  390.         ///
  391.         ///</summary>
  392.         public IList<worksumup> worksumup
  393.         {
  394.             get { return _worksumup; }
  395.             set { _worksumup = value; }
  396.         }
  397.         #endregion
  398.     }
  399. }