2011-04-09 17:34:56 +04:00

12 lines
239 B
Ruby

class User
include Mongoid::Document
store_in :users
key :name, String
key :password, String
key :email, String
key :regdate, Date
key :invites, Integer
key :referer, Integer
key :active, Integer
end