class User include DataMapper::Resource property :id, Serial property :loginname, String property :firstname, String property :lastname, String property :level, String property :role, String property :password, String property :created_at, DateTime, default: DateTime.now property :updated_at, DateTime end