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

22 lines
360 B
Ruby

class ModuleApp
include Mongoid::Document
include Mongoid::Timestamps
field :title
field :version
field :organization
field :author
field :intro
field :update_info
field :create_date
field :enable_frontend,type: Boolean
field :app_pages ,type: Array
field :widgets ,type: Array
has_one :app_auth,dependent: :delete
end