orbit-basic/app/models/module_app.rb

18 lines
285 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 :app_pages ,type: Array
has_one :app_auth,dependent: :delete
end