worklog.cs
资源名称:OASystem.rar [点击查看]
上传用户:lishan0805
上传日期:2019-12-08
资源大小:12048k
文件大小:5k
源码类别:
OA系统
开发平台:
C#
- // ===================================================================
- // 实体(COM.OA.Entity)项目
- //====================================================================
- // wangyp @Copy Right 2006-2008
- // 文件worklog.cs
- // 项目名称:工程项目管理
- // 创建时间:2008-9-23
- // 负责人:wangyp
- // ===================================================================
- using System;
- using System.Collections.Generic;
- namespace COM.OA.Entity
- {
- /// <summary>
- ///
- /// </summary>
- [Serializable]
- public class worklog
- {
- #region 变量定义
- ///<summary>
- ///日志id
- ///</summary>
- private int _w_id;
- ///<summary>
- ///日志标题
- ///</summary>
- private string _w_title = String.Empty;
- ///<summary>
- ///日志内容
- ///</summary>
- private string _w_content = String.Empty;
- ///<summary>
- ///发送人id(外键)
- ///</summary>
- private int _w_u_id;
- ///<summary>
- ///发送时间
- ///</summary>
- private DateTime _w_sendtime;
- ///<summary>
- ///状态
- ///</summary>
- private int _w_state;
- ///<summary>
- ///点击次数
- ///</summary>
- private int _w_clicks;
- ///<summary>
- ///批阅人id
- ///</summary>
- private int _w_readerid;
- ///<summary>
- ///批阅内容
- ///</summary>
- private string _w_readcontent = String.Empty;
- ///<summary>
- ///批阅时间
- ///</summary>
- private DateTime _w_readtime;
- ///<summary>
- ///
- ///</summary>
- private users _users = null;
- #endregion
- #region 构造函数
- ///<summary>
- ///
- ///</summary>
- public worklog()
- {
- }
- ///<summary>
- ///
- ///</summary>
- public worklog
- (
- int w_id,
- string w_title,
- string w_content,
- int w_u_id,
- DateTime w_sendtime,
- int w_state,
- int w_clicks,
- int w_readerid,
- string w_readcontent,
- DateTime w_readtime
- )
- {
- _w_id = w_id;
- _w_title = w_title;
- _w_content = w_content;
- _w_u_id = w_u_id;
- _w_sendtime = w_sendtime;
- _w_state = w_state;
- _w_clicks = w_clicks;
- _w_readerid = w_readerid;
- _w_readcontent = w_readcontent;
- _w_readtime = w_readtime;
- }
- #endregion
- #region 公共属性
- ///<summary>
- ///日志id
- ///</summary>
- public int w_id
- {
- get { return _w_id; }
- set { _w_id = value; }
- }
- ///<summary>
- ///日志标题
- ///</summary>
- public string w_title
- {
- get { return _w_title; }
- set { _w_title = value; }
- }
- ///<summary>
- ///日志内容
- ///</summary>
- public string w_content
- {
- get { return _w_content; }
- set { _w_content = value; }
- }
- ///<summary>
- ///发送人id(外键)
- ///</summary>
- public int w_u_id
- {
- get { return _w_u_id; }
- set { _w_u_id = value; }
- }
- ///<summary>
- ///发送时间
- ///</summary>
- public DateTime w_sendtime
- {
- get { return _w_sendtime; }
- set { _w_sendtime = value; }
- }
- ///<summary>
- ///状态
- ///</summary>
- public int w_state
- {
- get { return _w_state; }
- set { _w_state = value; }
- }
- ///<summary>
- ///点击次数
- ///</summary>
- public int w_clicks
- {
- get { return _w_clicks; }
- set { _w_clicks = value; }
- }
- ///<summary>
- ///批阅人id
- ///</summary>
- public int w_readerid
- {
- get { return _w_readerid; }
- set { _w_readerid = value; }
- }
- ///<summary>
- ///批阅内容
- ///</summary>
- public string w_readcontent
- {
- get { return _w_readcontent; }
- set { _w_readcontent = value; }
- }
- ///<summary>
- ///批阅时间
- ///</summary>
- public DateTime w_readtime
- {
- get { return _w_readtime; }
- set { _w_readtime = value; }
- }
- ///<summary>
- ///
- ///</summary>
- public users users
- {
- get { return _users; }
- set { _users = value; }
- }
- #endregion
- }
- }