class Event
	include Mongoid::Document
	include Mongoid::Timestamps

	field :title
	field :note
	field :start_year, type: Integer
	field :end_year, type: Integer
	field :start_month, type: Integer
	field :end_month, type: Integer
	field :start_date, type: Integer
	field :end_date, type: Integer
	field :start_time, type: Float
	field :start_am_pm
	field :end_time, type: Float
	field :end_am_pm
	field :start_week, type: Integer
	field :end_week, type: Integer
	field :final_start_time, type: Date
	field :final_end_time, type: Date
	field :total_days, type: Integer
	field :all_day, type: Boolean

	belongs_to :cal
	
end