client_management/app/models/plow_setting.rb

9 lines
230 B
Ruby

class PlowSetting
include Mongoid::Document
include Mongoid::Timestamps
field :concurrent, type: Integer, :default => 1
field :ip, type: String
field :url, type: String
field :rate, type: Integer, :default => 5000
end