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

OA系统

开发平台:

C#

  1. // =================================================================== 
  2. // 实体(COM.OA.Entity)项目
  3. //====================================================================
  4. // wangyp @Copy Right 2006-2008
  5. // 文件worklog.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 worklog
  19.     {
  20.         #region 变量定义
  21.         ///<summary>
  22.         ///日志id
  23.         ///</summary>
  24.         private int _w_id;
  25.         ///<summary>
  26.         ///日志标题
  27.         ///</summary>
  28.         private string _w_title = String.Empty;
  29.         ///<summary>
  30.         ///日志内容
  31.         ///</summary>
  32.         private string _w_content = String.Empty;
  33.         ///<summary>
  34.         ///发送人id(外键)
  35.         ///</summary>
  36.         private int _w_u_id;
  37.         ///<summary>
  38.         ///发送时间
  39.         ///</summary>
  40.         private DateTime _w_sendtime;
  41.         ///<summary>
  42.         ///状态
  43.         ///</summary>
  44.         private int _w_state;
  45.         ///<summary>
  46.         ///点击次数
  47.         ///</summary>
  48.         private int _w_clicks;
  49.         ///<summary>
  50.         ///批阅人id 
  51.         ///</summary>
  52.         private int _w_readerid;
  53.         ///<summary>
  54.         ///批阅内容
  55.         ///</summary>
  56.         private string _w_readcontent = String.Empty;
  57.         ///<summary>
  58.         ///批阅时间
  59.         ///</summary>
  60.         private DateTime _w_readtime;
  61.         ///<summary>
  62.         ///
  63.         ///</summary>
  64.         private users _users = null;
  65.         #endregion
  66.         #region 构造函数
  67.         ///<summary>
  68.         ///
  69.         ///</summary>
  70.         public worklog()
  71.         {
  72.         }
  73.         ///<summary>
  74.         ///
  75.         ///</summary>
  76.         public worklog
  77.         (
  78.             int w_id,
  79.             string w_title,
  80.             string w_content,
  81.             int w_u_id,
  82.             DateTime w_sendtime,
  83.             int w_state,
  84.             int w_clicks,
  85.             int w_readerid,
  86.             string w_readcontent,
  87.             DateTime w_readtime
  88.         )
  89.         {
  90.             _w_id = w_id;
  91.             _w_title = w_title;
  92.             _w_content = w_content;
  93.             _w_u_id = w_u_id;
  94.             _w_sendtime = w_sendtime;
  95.             _w_state = w_state;
  96.             _w_clicks = w_clicks;
  97.             _w_readerid = w_readerid;
  98.             _w_readcontent = w_readcontent;
  99.             _w_readtime = w_readtime;
  100.         }
  101.         #endregion
  102.         #region 公共属性
  103.         ///<summary>
  104.         ///日志id
  105.         ///</summary>
  106.         public int w_id
  107.         {
  108.             get { return _w_id; }
  109.             set { _w_id = value; }
  110.         }
  111.         ///<summary>
  112.         ///日志标题
  113.         ///</summary>
  114.         public string w_title
  115.         {
  116.             get { return _w_title; }
  117.             set { _w_title = value; }
  118.         }
  119.         ///<summary>
  120.         ///日志内容
  121.         ///</summary>
  122.         public string w_content
  123.         {
  124.             get { return _w_content; }
  125.             set { _w_content = value; }
  126.         }
  127.         ///<summary>
  128.         ///发送人id(外键)
  129.         ///</summary>
  130.         public int w_u_id
  131.         {
  132.             get { return _w_u_id; }
  133.             set { _w_u_id = value; }
  134.         }
  135.         ///<summary>
  136.         ///发送时间
  137.         ///</summary>
  138.         public DateTime w_sendtime
  139.         {
  140.             get { return _w_sendtime; }
  141.             set { _w_sendtime = value; }
  142.         }
  143.         ///<summary>
  144.         ///状态
  145.         ///</summary>
  146.         public int w_state
  147.         {
  148.             get { return _w_state; }
  149.             set { _w_state = value; }
  150.         }
  151.         ///<summary>
  152.         ///点击次数
  153.         ///</summary>
  154.         public int w_clicks
  155.         {
  156.             get { return _w_clicks; }
  157.             set { _w_clicks = value; }
  158.         }
  159.         ///<summary>
  160.         ///批阅人id 
  161.         ///</summary>
  162.         public int w_readerid
  163.         {
  164.             get { return _w_readerid; }
  165.             set { _w_readerid = value; }
  166.         }
  167.         ///<summary>
  168.         ///批阅内容
  169.         ///</summary>
  170.         public string w_readcontent
  171.         {
  172.             get { return _w_readcontent; }
  173.             set { _w_readcontent = value; }
  174.         }
  175.         ///<summary>
  176.         ///批阅时间
  177.         ///</summary>
  178.         public DateTime w_readtime
  179.         {
  180.             get { return _w_readtime; }
  181.             set { _w_readtime = value; }
  182.         }
  183.         ///<summary>
  184.         ///
  185.         ///</summary>
  186.         public users users
  187.         {
  188.             get { return _users; }
  189.             set { _users = value; }
  190.         }
  191.         #endregion
  192.     }
  193. }