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/module_app.rb

18 lines
285 B
Ruby
Raw Normal View History

2011-11-19 06:33:26 +00:00
class ModuleApp
include Mongoid::Document
include Mongoid::Timestamps
2011-12-23 10:34:21 +00:00
field :title
field :version
field :organization
field :author
field :intro
field :update_info
field :create_date
2011-12-23 10:34:21 +00:00
field :app_pages ,type: Array
has_one :app_auth,dependent: :delete
end