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

OA系统

开发平台:

C#

  1. // =================================================================== 
  2. // 实体(COM.OA.Entity)项目
  3. //====================================================================
  4. // wangyp @Copy Right 2006-2008
  5. // 文件sendword.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 sendword
  19.     {
  20.         #region 变量定义
  21.         ///<summary>
  22.         ///通知id
  23.         ///</summary>
  24.         private int _sw_id;
  25.         ///<summary>
  26.         ///通知标题
  27.         ///</summary>
  28.         private string _sw_title = String.Empty;
  29.         ///<summary>
  30.         ///通知内容
  31.         ///</summary>
  32.         private string _sw_content = String.Empty;
  33.         ///<summary>
  34.         ///部门id(外键)
  35.         ///</summary>
  36.         private int _sw_dept_id;
  37.         ///<summary>
  38.         ///发布人id(外键)
  39.         ///</summary>
  40.         private int _sw_u_id;
  41.         ///<summary>
  42.         ///发布时间
  43.         ///</summary>
  44.         private DateTime _sw_releasetime;
  45.         ///<summary>
  46.         ///浏览次数
  47.         ///</summary>
  48.         private int _sw_reads;
  49.         ///<summary>
  50.         ///状态
  51.         ///</summary>
  52.         private int _sw_state;
  53.         ///<summary>
  54.         ///
  55.         ///</summary>
  56.         private users _users = null;
  57.         ///<summary>
  58.         ///
  59.         ///</summary>
  60.         private department _department = null;
  61.         #endregion
  62.         #region 构造函数
  63.         ///<summary>
  64.         ///
  65.         ///</summary>
  66.         public sendword()
  67.         {
  68.         }
  69.         ///<summary>
  70.         ///
  71.         ///</summary>
  72.         public sendword
  73.         (
  74.             int sw_id,
  75.             string sw_title,
  76.             string sw_content,
  77.             int sw_dept_id,
  78.             int sw_u_id,
  79.             DateTime sw_releasetime,
  80.             int sw_reads,
  81.             int sw_state
  82.         )
  83.         {
  84.             _sw_id = sw_id;
  85.             _sw_title = sw_title;
  86.             _sw_content = sw_content;
  87.             _sw_dept_id = sw_dept_id;
  88.             _sw_u_id = sw_u_id;
  89.             _sw_releasetime = sw_releasetime;
  90.             _sw_reads = sw_reads;
  91.             _sw_state = sw_state;
  92.         }
  93.         #endregion
  94.         #region 公共属性
  95.         ///<summary>
  96.         ///通知id
  97.         ///</summary>
  98.         public int sw_id
  99.         {
  100.             get { return _sw_id; }
  101.             set { _sw_id = value; }
  102.         }
  103.         ///<summary>
  104.         ///通知标题
  105.         ///</summary>
  106.         public string sw_title
  107.         {
  108.             get { return _sw_title; }
  109.             set { _sw_title = value; }
  110.         }
  111.         ///<summary>
  112.         ///通知内容
  113.         ///</summary>
  114.         public string sw_content
  115.         {
  116.             get { return _sw_content; }
  117.             set { _sw_content = value; }
  118.         }
  119.         ///<summary>
  120.         ///部门id(外键)
  121.         ///</summary>
  122.         public int sw_dept_id
  123.         {
  124.             get { return _sw_dept_id; }
  125.             set { _sw_dept_id = value; }
  126.         }
  127.         ///<summary>
  128.         ///发布人id(外键)
  129.         ///</summary>
  130.         public int sw_u_id
  131.         {
  132.             get { return _sw_u_id; }
  133.             set { _sw_u_id = value; }
  134.         }
  135.         ///<summary>
  136.         ///发布时间
  137.         ///</summary>
  138.         public DateTime sw_releasetime
  139.         {
  140.             get { return _sw_releasetime; }
  141.             set { _sw_releasetime = value; }
  142.         }
  143.         ///<summary>
  144.         ///浏览次数
  145.         ///</summary>
  146.         public int sw_reads
  147.         {
  148.             get { return _sw_reads; }
  149.             set { _sw_reads = value; }
  150.         }
  151.         ///<summary>
  152.         ///状态
  153.         ///</summary>
  154.         public int sw_state
  155.         {
  156.             get { return _sw_state; }
  157.             set { _sw_state = value; }
  158.         }
  159.         ///<summary>
  160.         ///
  161.         ///</summary>
  162.         public users users
  163.         {
  164.             get { return _users; }
  165.             set { _users = value; }
  166.         }
  167.         ///<summary>
  168.         ///
  169.         ///</summary>
  170.         public department department
  171.         {
  172.             get { return _department; }
  173.             set { _department = value; }
  174.         }
  175.         #endregion
  176.     }
  177. }