using System;

using BS.Shared;
using BS.Shared.DataContracts.Compact;

namespace BeWo.Data.Entities
{
	public class ResourceAppointment : BeWoEntityBase
	{
		public static string PropertyName_Resource = "Resource";

		public static string PropertyName_Type = "Type";

		public static string PropertyName_StartDate = "StartDate";

		public static string PropertyName_EndDate = "EndDate";

		public static string PropertyName_AllDay = "AllDay";

		public static string PropertyName_Location = "Location";

		public static string PropertyName_Subject = "Subject";

		public static string PropertyName_Status = "Status";

		public static string PropertyName_RecurrenceInfo = "RecurrenceInfo";

		public static string PropertyName_ReminderInfo = "ReminderInfo";

		public static string PropertyName_EmployeeOid = "EmployeeOid";

		public static string PropertyName_FormerBookingOid = "FormerBookingOid";

		public static string PropertyName_FormerBookingSequenceOid = "FormerBookingSequenceOid";


		public ResourceAppointment()
		{
			_Tid=TableID.ResourceAppointment;
		}


		public virtual Resource Resource { get; set; }

		public virtual int Type { get; set; }

		public virtual DateTime? EndDate { get; set; }

		public virtual DateTime? StartDate { get; set; }

		public virtual bool AllDay { get; set; }

		public virtual String Subject { get; set; }

		public virtual String Location { get; set; }

		public virtual int Status { get; set; }

		public virtual String RecurrenceInfo { get; set; }

		public virtual String ReminderInfo { get; set; }

		public virtual long? FormerBookingOid { get; set; }

		public virtual long? FormerBookingSequenceOid { get; set; }

		public virtual Employee Employee { get; set; }
	}
}
