bus/app/models/ruling_bus_setting.rb

9 lines
350 B
Ruby
Raw Normal View History

2021-08-04 03:11:10 +00:00
class RulingBusSetting
include Mongoid::Document
include Mongoid::Timestamps
field :app_key, type: String, default: ""
field :app_id, type: String, default: ""
field :update_interval, type: Integer, default: 20
field :update_front_interval, type: Integer, default: 5
field :update_route_interval, type: Integer, default: 180 #minute
end