using System;
//¸ÃÔ´ÂëÏÂÔØ×Ôwww.51aspx.com(£µ£±£á£ó£ð£ø£®£ã£ï£í)

namespace MetaSite.Components
{
	/// <summary>
	/// Resource¡£
	/// </summary>
	public class Resource
	{
		int id;
		string _Title;
		string _Text;
		int _SortOrder;
		string _Code;
		int _Style;

		public Resource(string code)
		{
			_Code = code;
		}

		public Resource()
		{
			_Code = "";
		}

		public int Id
		{
			get{ return id;}
			set{ id = value;}
		}

		public int Style
		{
			get{ return _Style;}
			set{ _Style = value;}
		}

		public string Title
		{
			get{ return _Title;}
			set{ _Title = value;}
		}
		public string Text
		{
			get{ return _Text;}
			set{ _Text = value;}
		}
		public int SortOrder
		{
			get{ return _SortOrder;}
			set{ _SortOrder = value;}
		}

		public string Code
		{
			get{ return _Code;}
			set{_Code = value;}
		}
	}
}
