sendword.cs
资源名称:OASystem.rar [点击查看]
上传用户:lishan0805
上传日期:2019-12-08
资源大小:12048k
文件大小:4k
源码类别:
OA系统
开发平台:
C#
- // ===================================================================
- // 实体(COM.OA.Entity)项目
- //====================================================================
- // wangyp @Copy Right 2006-2008
- // 文件sendword.cs
- // 项目名称:工程项目管理
- // 创建时间:2008-9-23
- // 负责人:wangyp
- // ===================================================================
- using System;
- using System.Collections.Generic;
- namespace COM.OA.Entity
- {
- /// <summary>
- ///
- /// </summary>
- [Serializable]
- public class sendword
- {
- #region 变量定义
- ///<summary>
- ///通知id
- ///</summary>
- private int _sw_id;
- ///<summary>
- ///通知标题
- ///</summary>
- private string _sw_title = String.Empty;
- ///<summary>
- ///通知内容
- ///</summary>
- private string _sw_content = String.Empty;
- ///<summary>
- ///部门id(外键)
- ///</summary>
- private int _sw_dept_id;
- ///<summary>
- ///发布人id(外键)
- ///</summary>
- private int _sw_u_id;
- ///<summary>
- ///发布时间
- ///</summary>
- private DateTime _sw_releasetime;
- ///<summary>
- ///浏览次数
- ///</summary>
- private int _sw_reads;
- ///<summary>
- ///状态
- ///</summary>
- private int _sw_state;
- ///<summary>
- ///
- ///</summary>
- private users _users = null;
- ///<summary>
- ///
- ///</summary>
- private department _department = null;
- #endregion
- #region 构造函数
- ///<summary>
- ///
- ///</summary>
- public sendword()
- {
- }
- ///<summary>
- ///
- ///</summary>
- public sendword
- (
- int sw_id,
- string sw_title,
- string sw_content,
- int sw_dept_id,
- int sw_u_id,
- DateTime sw_releasetime,
- int sw_reads,
- int sw_state
- )
- {
- _sw_id = sw_id;
- _sw_title = sw_title;
- _sw_content = sw_content;
- _sw_dept_id = sw_dept_id;
- _sw_u_id = sw_u_id;
- _sw_releasetime = sw_releasetime;
- _sw_reads = sw_reads;
- _sw_state = sw_state;
- }
- #endregion
- #region 公共属性
- ///<summary>
- ///通知id
- ///</summary>
- public int sw_id
- {
- get { return _sw_id; }
- set { _sw_id = value; }
- }
- ///<summary>
- ///通知标题
- ///</summary>
- public string sw_title
- {
- get { return _sw_title; }
- set { _sw_title = value; }
- }
- ///<summary>
- ///通知内容
- ///</summary>
- public string sw_content
- {
- get { return _sw_content; }
- set { _sw_content = value; }
- }
- ///<summary>
- ///部门id(外键)
- ///</summary>
- public int sw_dept_id
- {
- get { return _sw_dept_id; }
- set { _sw_dept_id = value; }
- }
- ///<summary>
- ///发布人id(外键)
- ///</summary>
- public int sw_u_id
- {
- get { return _sw_u_id; }
- set { _sw_u_id = value; }
- }
- ///<summary>
- ///发布时间
- ///</summary>
- public DateTime sw_releasetime
- {
- get { return _sw_releasetime; }
- set { _sw_releasetime = value; }
- }
- ///<summary>
- ///浏览次数
- ///</summary>
- public int sw_reads
- {
- get { return _sw_reads; }
- set { _sw_reads = value; }
- }
- ///<summary>
- ///状态
- ///</summary>
- public int sw_state
- {
- get { return _sw_state; }
- set { _sw_state = value; }
- }
- ///<summary>
- ///
- ///</summary>
- public users users
- {
- get { return _users; }
- set { _users = value; }
- }
- ///<summary>
- ///
- ///</summary>
- public department department
- {
- get { return _department; }
- set { _department = value; }
- }
- #endregion
- }
- }