article.cs

来自「投票系统模块设计」· CS 代码 · 共 91 行

CS
91
字号
using System;namespace Common{	/// <summary>
	/// 文章信息表
	/// </summary>	public class Article	{		int _id;		int _father_id;		int _author_id;		string _title;		string _content;		DateTime _compose_date;		DateTime _modify_date;		int _browse_times;		/// <summary>
		/// 文章id
		/// </summary>		public int id		{			get{return this._id;}			set{this._id=value;}		}		/// <summary>
		/// 文章的父级文章id
		/// </summary>		public int father_id		{			get{return this._father_id;}			set{this._father_id=value;}		}		/// <summary>
		/// 文章作者的id
		/// </summary>		public int author_id		{			get{return this._author_id;}			set{this._author_id=value;}		}		/// <summary>
		/// 文章标题
		/// </summary>		public string title		{			get{return this._title;}			set{this._title=value;}		}		/// <summary>
		/// 文章内容
		/// </summary>		public string content		{			get{return this._content;}			set{this._content=value;}		}		/// <summary>
		/// 文章撰写日期
		/// </summary>		public DateTime compose_date		{			get{return this._compose_date;}			set{this._compose_date=value;}		}		/// <summary>
		/// 文章最后修改日期
		/// </summary>		public DateTime modify_date		{			get{return this._modify_date;}			set{this._modify_date=value;}		}		/// <summary>
		/// 
		/// </summary>		public int browse_times		{			get{return this._browse_times;}			set{this._browse_times=value;}		}	}}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?