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