This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/app/models/purchase/purchase.rb

17 lines
285 B
Ruby
Raw Normal View History

2011-08-18 05:43:33 +00:00
class Purchase
include Mongoid::Document
include Mongoid::Timestamps
field :purchase_id
field :title
field :author
field :intro
field :downloaded, :type => Boolean
field :download_date, :type => Date
2011-08-18 05:43:33 +00:00
2011-12-20 08:47:17 +00:00
field :type
field :app_controller
has_many :app_auths
2011-08-18 05:43:33 +00:00
end