def store_baseline(enterprise_id, type, ts, baseline)
      return if baseline.nil? or baseline.empty?
      baseline.each do |uid, val|
        self.new({
                     enterprise_id: enterprise_id,
                     type: type,
                     ts: ts,
                     uid: uid,
                     val: val
                 }).save!
      end
    end
def store_baseline(enterprise_id, type, ts, baseline)
      return if baseline.nil? or baseline.empty?
      baseline.each do |uid, val|
        self.new({
                     enterprise_id: enterprise_id,
                     type: type,
                     ts: ts,
                     uid: uid,
                     val: val
                 }).save!
      end
    end
Stores the baseline for an enterprise, and type
 @param [String] enterprise_id The enterprise ID of enterprise
 @param [Fixnum] type The Counter type as baseline type
 @param [Time] ts The time stamp of storage
 @param [Hash{String => Float}] baseline A hash representing baseline