reply.cs

来自「CSDN助手.net 由于csdn论坛改版」· CS 代码 · 共 106 行

CS
106
字号
/// <Copyright>
/// This Program Written By Luyan(5drush)
/// 2002/4/23
/// Email:nluyan@163.net
/// QQ:5743345
/// </Copyright>
using System;

namespace CSDN
{
	/// <summary>
	/// Reply 的摘要说明。
	/// </summary>
	public class Reply
	{
		private Poster poster;
		private string replyId;
		private string topicId;
		private int    point;
		private DateTime postDateTime;
		private string content;
		
		public Reply(Poster ReplyPoster,string ReplyId, string TopicId, int Point, DateTime PostDateTime, string Content)
		{
			replyId = ReplyId;
			topicId = TopicId;
			point   = Point; 
			postDateTime = PostDateTime;
			content = Content;
			poster = ReplyPoster;
		}

		public Poster ReplyPoster
		{
			get
			{
				return poster;
			}
			set
			{
				poster = value;
			}
		}

		public string ReplyId
		{
			get
			{
				return replyId;
			}
			set
			{
				replyId = value;
			}
		}

		public string TopicId
		{
			get
			{
				return topicId;
			}
			set
			{
				topicId = value;
			}
		}

		public int Point
		{
			get
			{
				return point;
			}
			set
			{
				point = value;
			}
		}

		public DateTime PostDateTime
		{
			get
			{
				return postDateTime;
			}
			set
			{
				postDateTime = value;
			}
		}

		public string Content
		{
			get
			{
				return content;
			}
			set
			{
				content = value;
			}
		}
	}
}

⌨️ 快捷键说明

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