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

OA系统

开发平台:

C#

  1. // =================================================================== 
  2. // 实体(COM.OA.Entity)项目
  3. //====================================================================
  4. // wangyp @Copy Right 2006-2008
  5. // 文件files.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 files
  19.     {
  20.         #region 变量定义
  21.         ///<summary>
  22.         ///文件id
  23.         ///</summary>
  24.         private int _f_id;
  25.         ///<summary>
  26.         ///文件名
  27.         ///</summary>
  28.         private string _f_filename = String.Empty;
  29.         ///<summary>
  30.         ///文件类别id(外键)
  31.         ///</summary>
  32.         private int _f_ftype_id;
  33.         ///<summary>
  34.         ///所属部门id(外键)
  35.         ///</summary>
  36.         private int _f_dept_id;
  37.         ///<summary>
  38.         ///发送人id
  39.         ///</summary>
  40.         private int _f_sendu_id;
  41.         ///<summary>
  42.         ///接收人id(外键)
  43.         ///</summary>
  44.         private int _f_takeu_id;
  45.         ///<summary>
  46.         ///是否共享
  47.         ///</summary>
  48.         private int _f_isshare;
  49.         ///<summary>
  50.         ///备注
  51.         ///</summary>
  52.         private string _f_remark = String.Empty;
  53.         ///<summary>
  54.         ///是否回执
  55.         ///</summary>
  56.         private int _f_isreturn;
  57.         ///<summary>
  58.         ///读否
  59.         ///</summary>
  60.         private int _f_isread;
  61.         ///<summary>
  62.         ///阅读次数
  63.         ///</summary>
  64.         private int _f_readdegree;
  65.         ///<summary>
  66.         ///发布时间
  67.         ///</summary>
  68.         private DateTime _f_releasetime;
  69.         ///<summary>
  70.         ///状态
  71.         ///</summary>
  72.         private int _f_state;
  73.         ///<summary>
  74.         ///
  75.         ///</summary>
  76.         private users _users = null;
  77.         ///<summary>
  78.         ///
  79.         ///</summary>
  80.         private filetype _filetype = null;
  81.         ///<summary>
  82.         ///
  83.         ///</summary>
  84.         private department _department = null;
  85.         ///<summary>
  86.         ///
  87.         ///</summary>
  88.         private IList<filerevert> _filerevert = null;
  89.         #endregion
  90.         #region 构造函数
  91.         ///<summary>
  92.         ///
  93.         ///</summary>
  94.         public files()
  95.         {
  96.         }
  97.         ///<summary>
  98.         ///
  99.         ///</summary>
  100.         public files
  101.         (
  102.             int f_id,
  103.             string f_filename,
  104.             int f_ftype_id,
  105.             int f_dept_id,
  106.             int f_sendu_id,
  107.             int f_takeu_id,
  108.             int f_isshare,
  109.             string f_remark,
  110.             int f_isreturn,
  111.             int f_isread,
  112.             int f_readdegree,
  113.             DateTime f_releasetime,
  114.             int f_state
  115.         )
  116.         {
  117.             _f_id = f_id;
  118.             _f_filename = f_filename;
  119.             _f_ftype_id = f_ftype_id;
  120.             _f_dept_id = f_dept_id;
  121.             _f_sendu_id = f_sendu_id;
  122.             _f_takeu_id = f_takeu_id;
  123.             _f_isshare = f_isshare;
  124.             _f_remark = f_remark;
  125.             _f_isreturn = f_isreturn;
  126.             _f_isread = f_isread;
  127.             _f_readdegree = f_readdegree;
  128.             _f_releasetime = f_releasetime;
  129.             _f_state = f_state;
  130.         }
  131.         #endregion
  132.         #region 公共属性
  133.         ///<summary>
  134.         ///文件id
  135.         ///</summary>
  136.         public int f_id
  137.         {
  138.             get { return _f_id; }
  139.             set { _f_id = value; }
  140.         }
  141.         ///<summary>
  142.         ///文件名
  143.         ///</summary>
  144.         public string f_filename
  145.         {
  146.             get { return _f_filename; }
  147.             set { _f_filename = value; }
  148.         }
  149.         ///<summary>
  150.         ///文件类别id(外键)
  151.         ///</summary>
  152.         public int f_ftype_id
  153.         {
  154.             get { return _f_ftype_id; }
  155.             set { _f_ftype_id = value; }
  156.         }
  157.         ///<summary>
  158.         ///所属部门id(外键)
  159.         ///</summary>
  160.         public int f_dept_id
  161.         {
  162.             get { return _f_dept_id; }
  163.             set { _f_dept_id = value; }
  164.         }
  165.         ///<summary>
  166.         ///发送人id
  167.         ///</summary>
  168.         public int f_sendu_id
  169.         {
  170.             get { return _f_sendu_id; }
  171.             set { _f_sendu_id = value; }
  172.         }
  173.         ///<summary>
  174.         ///接收人id(外键)
  175.         ///</summary>
  176.         public int f_takeu_id
  177.         {
  178.             get { return _f_takeu_id; }
  179.             set { _f_takeu_id = value; }
  180.         }
  181.         ///<summary>
  182.         ///是否共享
  183.         ///</summary>
  184.         public int f_isshare
  185.         {
  186.             get { return _f_isshare; }
  187.             set { _f_isshare = value; }
  188.         }
  189.         ///<summary>
  190.         ///备注
  191.         ///</summary>
  192.         public string f_remark
  193.         {
  194.             get { return _f_remark; }
  195.             set { _f_remark = value; }
  196.         }
  197.         ///<summary>
  198.         ///是否回执
  199.         ///</summary>
  200.         public int f_isreturn
  201.         {
  202.             get { return _f_isreturn; }
  203.             set { _f_isreturn = value; }
  204.         }
  205.         ///<summary>
  206.         ///读否
  207.         ///</summary>
  208.         public int f_isread
  209.         {
  210.             get { return _f_isread; }
  211.             set { _f_isread = value; }
  212.         }
  213.         ///<summary>
  214.         ///阅读次数
  215.         ///</summary>
  216.         public int f_readdegree
  217.         {
  218.             get { return _f_readdegree; }
  219.             set { _f_readdegree = value; }
  220.         }
  221.         ///<summary>
  222.         ///发布时间
  223.         ///</summary>
  224.         public DateTime f_releasetime
  225.         {
  226.             get { return _f_releasetime; }
  227.             set { _f_releasetime = value; }
  228.         }
  229.         ///<summary>
  230.         ///状态
  231.         ///</summary>
  232.         public int f_state
  233.         {
  234.             get { return _f_state; }
  235.             set { _f_state = value; }
  236.         }
  237.         ///<summary>
  238.         ///
  239.         ///</summary>
  240.         public users users
  241.         {
  242.             get { return _users; }
  243.             set { _users = value; }
  244.         }
  245.         ///<summary>
  246.         ///
  247.         ///</summary>
  248.         public filetype filetype
  249.         {
  250.             get { return _filetype; }
  251.             set { _filetype = value; }
  252.         }
  253.         ///<summary>
  254.         ///
  255.         ///</summary>
  256.         public department department
  257.         {
  258.             get { return _department; }
  259.             set { _department = value; }
  260.         }
  261.         ///<summary>
  262.         ///
  263.         ///</summary>
  264.         public IList<filerevert> filerevert
  265.         {
  266.             get { return _filerevert; }
  267.             set { _filerevert = value; }
  268.         }
  269.         #endregion
  270.     }
  271. }