document.cs
资源名称:OASystem.rar [点击查看]
上传用户:lishan0805
上传日期:2019-12-08
资源大小:12048k
文件大小:6k
源码类别:
OA系统
开发平台:
C#
- // ===================================================================
- // 实体(COM.OA.Entity)项目
- //====================================================================
- // wangyp @Copy Right 2006-2008
- // 文件document.cs
- // 项目名称:工程项目管理
- // 创建时间:2008-9-23
- // 负责人:wangyp
- // ===================================================================
- using System;
- using System.Collections.Generic;
- namespace COM.OA.Entity
- {
- /// <summary>
- ///
- /// </summary>
- [Serializable]
- public class document
- {
- #region 变量定义
- ///<summary>
- ///公文id
- ///</summary>
- private int _doc_id;
- ///<summary>
- ///部门id(外键)
- ///</summary>
- private int _doc_dept_id;
- ///<summary>
- ///群id(外键)
- ///</summary>
- private int _doc_g_id;
- ///<summary>
- ///接收人id(外键)
- ///</summary>
- private int _doc_u_id;
- ///<summary>
- ///公文标题
- ///</summary>
- private string _doc_title = String.Empty;
- ///<summary>
- ///公文附件
- ///</summary>
- private string _doc_annex = String.Empty;
- ///<summary>
- ///下载次数
- ///</summary>
- private int _doc_downloads;
- ///<summary>
- ///阅读次数
- ///</summary>
- private int _doc_reads;
- ///<summary>
- ///点击次数
- ///</summary>
- private int _doc_clicks;
- ///<summary>
- ///发布时间
- ///</summary>
- private DateTime _doc_releasetime;
- ///<summary>
- ///发布人id
- ///</summary>
- private int _doc_sendu_id;
- ///<summary>
- ///
- ///</summary>
- private users _users = null;
- ///<summary>
- ///
- ///</summary>
- private groups _groups = null;
- ///<summary>
- ///
- ///</summary>
- private department _department = null;
- #endregion
- #region 构造函数
- ///<summary>
- ///
- ///</summary>
- public document()
- {
- }
- ///<summary>
- ///
- ///</summary>
- public document
- (
- int doc_id,
- int doc_dept_id,
- int doc_g_id,
- int doc_u_id,
- string doc_title,
- string doc_annex,
- int doc_downloads,
- int doc_reads,
- int doc_clicks,
- DateTime doc_releasetime,
- int doc_sendu_id
- )
- {
- _doc_id = doc_id;
- _doc_dept_id = doc_dept_id;
- _doc_g_id = doc_g_id;
- _doc_u_id = doc_u_id;
- _doc_title = doc_title;
- _doc_annex = doc_annex;
- _doc_downloads = doc_downloads;
- _doc_reads = doc_reads;
- _doc_clicks = doc_clicks;
- _doc_releasetime = doc_releasetime;
- _doc_sendu_id = doc_sendu_id;
- }
- #endregion
- #region 公共属性
- ///<summary>
- ///公文id
- ///</summary>
- public int doc_id
- {
- get { return _doc_id; }
- set { _doc_id = value; }
- }
- ///<summary>
- ///部门id(外键)
- ///</summary>
- public int doc_dept_id
- {
- get { return _doc_dept_id; }
- set { _doc_dept_id = value; }
- }
- ///<summary>
- ///群id(外键)
- ///</summary>
- public int doc_g_id
- {
- get { return _doc_g_id; }
- set { _doc_g_id = value; }
- }
- ///<summary>
- ///接收人id(外键)
- ///</summary>
- public int doc_u_id
- {
- get { return _doc_u_id; }
- set { _doc_u_id = value; }
- }
- ///<summary>
- ///公文标题
- ///</summary>
- public string doc_title
- {
- get { return _doc_title; }
- set { _doc_title = value; }
- }
- ///<summary>
- ///公文附件
- ///</summary>
- public string doc_annex
- {
- get { return _doc_annex; }
- set { _doc_annex = value; }
- }
- ///<summary>
- ///下载次数
- ///</summary>
- public int doc_downloads
- {
- get { return _doc_downloads; }
- set { _doc_downloads = value; }
- }
- ///<summary>
- ///阅读次数
- ///</summary>
- public int doc_reads
- {
- get { return _doc_reads; }
- set { _doc_reads = value; }
- }
- ///<summary>
- ///点击次数
- ///</summary>
- public int doc_clicks
- {
- get { return _doc_clicks; }
- set { _doc_clicks = value; }
- }
- ///<summary>
- ///发布时间
- ///</summary>
- public DateTime doc_releasetime
- {
- get { return _doc_releasetime; }
- set { _doc_releasetime = value; }
- }
- ///<summary>
- ///发布人id
- ///</summary>
- public int doc_sendu_id
- {
- get { return _doc_sendu_id; }
- set { _doc_sendu_id = value; }
- }
- ///<summary>
- ///
- ///</summary>
- public users users
- {
- get { return _users; }
- set { _users = value; }
- }
- ///<summary>
- ///
- ///</summary>
- public groups groups
- {
- get { return _groups; }
- set { _groups = value; }
- }
- ///<summary>
- ///
- ///</summary>
- public department department
- {
- get { return _department; }
- set { _department = value; }
- }
- #endregion
- }
- }