Files
beef/core/main/models/result.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

21 lines
323 B
Ruby

module BeEF
module Core
module Models
#
# Table stores the results from commands.
#
class Result
include DataMapper::Resource
storage_names[:default] = 'core.results'
property :id, Serial
property :date, String, :length => 15, :lazy => false
property :data, Text
end
end
end
end