namespace BookCommunityClient
{
	public enum UISearchTypeEnum{INIT = -1,BOOK=0,USER=1,MESSAGE=2,LEND=3,BORROW=4,HISTORY=5}

	public enum MessageTypeEnum{REQUEST,RESPONSE,SYSTEM,MAIL}

//	public sealed class MessageTypeString
//	{
//		private MessageTypeString(){}
//
//		public static readonly string[] MessageTypeStrings = new string[]{"REQUEST","RESPONSE","SYSTEM","MAIL"};
//	}

	public enum BookStatusTypeEnum{FREE,BORROWED}

//	public sealed class BookStatusTypeString
//	{
//		private BookStatusTypeString(){}
//
//		public static readonly string[] BookStatusTypeStrings = new string[]{"FREE","BORROWED"};
//	}

	public enum ShareInfoStatusTypeEnum{CREATE,REQUEST,REJECT,QUEUE,BORROWED,RETURNED,CANCEL}

//	public sealed class ShareInfoStatusTypeString
//	{
//		private ShareInfoStatusTypeString(){}
//
//		public static readonly string[] ShareInfoStatusTypeStrings = new string[]{"CREATE","REQUEST","REJECT","QUEUE","BORROWED","RETURNED","CANCEL"};
//	}

	public sealed class MessageConstantString
	{
		private MessageConstantString(){}

		public const string MessageSystemSenderName = "SYSTEM";
	}

	public enum UIRequestApprovedEnum{UNDEFINED=-1,APPROVED=1,NOTAPPROVED=0}

	public sealed class LocalDataXmlFiles
	{
		private LocalDataXmlFiles(){}

		public const string FileNameDataSetBook = "Book.xml";
		public const string FileNameDataSetMessage = "Message.xml";
		public const string FileNameDataSetOnlineInfo = "OnlineInfo.xml";
		public const string FileNameDataSetShareInfo = "ShareInfo.xml";
		public const string FileNameDataSetUserInfo = "UserInfo.xml";
	}
}