Files
beef/core/main/models/commandmodule.rb
scotty.b.brown@gmail.com 35f62714b1 Moving nextgen from a branch to the trunk!!!
git-svn-id: https://beef.googlecode.com/svn/trunk@908 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-04-20 07:54:56 +00:00

22 lines
343 B
Ruby

module BeEF
module Core
module Models
class CommandModule
include DataMapper::Resource
storage_names[:default] = 'core.command_modules'
property :id, Serial
property :path, Text, :lazy => false
property :name, Text, :lazy => false
has n, :commands
has 1, :dynamic_command_info
end
end
end
end