using System;
using System.Data;
using Meta.Web; 
using MetaSite.Components.Providers;    

namespace MetaSite.Components
{
	/// <summary>
	/// TopicĄŁ
	/// </summary>
	public class Topic : Post
	{
		static SortTopicsBy _SortBy = SortTopicsBy.TopicDateDesc;
		DateTime _TopicDate;		

		public enum SortTopicsBy 
		{
			Subject,
			SubjectDesc,
			Author,
			AuthorDesc,
			Replies,
			RepliesDesc,
			Views,
			ViewsDesc,
			TopicDate,
			TopicDateDesc
		}

		public static SortTopicsBy SortBy 
		{
			get { return _SortBy;}
			set { _SortBy = value;}
		}	

		int _TotalPosts;
		public int TotalPosts 
		{
			get { return _TotalPosts; }
			set { _TotalPosts = value; }
		}
		
		public DateTime TopicDate 
		{
			get { return _TopicDate; }
			set { _TopicDate = value; }	
		}				
	}
}
