INFONews.cs
上传用户:simon2hong
上传日期:2021-11-18
资源大小:16746k
文件大小:2k
- //------------------------------------------------------------------------------
- // 创建标识: Copyright (C) 2009 Socansoft.com 版权所有
- // 创建描述: SocanCode代码生成器 V4.3.2.3 自动创建于 2009-12-7 19:55:36
- //
- // 功能描述:
- //
- // 修改标识:
- // 修改描述:
- //------------------------------------------------------------------------------
- using System;
- namespace Model
- {
- /// <summary>
- /// 实体类 INFONews
- /// </summary>
- [Serializable]
- public class INFONews
- {
- public INFONews()
- { }
- /// <summary>
- /// 构造函数 INFONews
- /// </summary>
- /// <param name="iD">ID</param>
- /// <param name="zT">主题</param>
- /// <param name="nR">内容</param>
- /// <param name="sJ">发表时间</param>
- /// <param name="zZ">作者</param>
- public INFONews(int iD, string zT, string nR, DateTime sJ, string zZ)
- {
- _iD = iD;
- _zT = zT;
- _nR = nR;
- _sJ = sJ;
- _zZ = zZ;
- }
- #region Model
- private int _iD;
- private string _zT;
- private string _nR;
- private DateTime _sJ;
- private string _zZ;
- /// <summary>
- /// ID
- /// </summary>
- public int ID
- {
- set { _iD = value; }
- get { return _iD; }
- }
- /// <summary>
- /// 主题
- /// </summary>
- public string ZT
- {
- set { _zT = value; }
- get { return _zT; }
- }
- /// <summary>
- /// 内容
- /// </summary>
- public string NR
- {
- set { _nR = value; }
- get { return _nR; }
- }
- /// <summary>
- /// 发表时间
- /// </summary>
- public DateTime SJ
- {
- set { _sJ = value; }
- get { return _sJ; }
- }
- /// <summary>
- /// 作者
- /// </summary>
- public string ZZ
- {
- set { _zZ = value; }
- get { return _zZ; }
- }
- #endregion Model
- }
- }