include Mongoid::Timestamps field :member_id, :type => Integer field :annual_trunk_frequency, :type => Integer, :default => 0 field :average_trunk_value, :type => Float, :default => 0.0 field :is_customer, :type => Boolean, :default => false field :keep_rate, :type => Float, :default => 0.0 field :last_transaction_date, :type => Date field :member_creation_date, :type => Date field :total_value, :type => Float, :default => 0.0 field :total_number_of_trunks, :type => Integer, :default => 0 end end