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.
2011-11-19 06:33:26 +00:00
|
|
|
class ModuleApp
|
2011-11-16 07:21:31 +00:00
|
|
|
include Mongoid::Document
|
|
|
|
include Mongoid::Timestamps
|
|
|
|
|
2011-12-20 08:47:17 +00:00
|
|
|
field :title
|
2011-11-16 07:21:31 +00:00
|
|
|
field :version
|
|
|
|
field :organization
|
|
|
|
field :author
|
|
|
|
field :intro
|
|
|
|
field :update_info
|
|
|
|
field :create_date
|
2012-01-05 08:20:51 +00:00
|
|
|
field :enable_frontend,type: Boolean
|
2011-11-16 07:21:31 +00:00
|
|
|
|
2011-12-20 08:47:17 +00:00
|
|
|
field :app_pages ,type: Array
|
2012-01-05 08:20:51 +00:00
|
|
|
field :widgets ,type: Array
|
2011-12-20 08:47:17 +00:00
|
|
|
|
|
|
|
has_one :app_auth,dependent: :delete
|
|
|
|
|
2012-01-05 08:20:51 +00:00
|
|
|
|
|
|
|
|
2011-11-16 07:21:31 +00:00
|
|
|
end
|