module Util
  module UUID
    module_function

    def time_uuid(format: '%Y%m%d%H%M%S', suffix: 8)
      "#{Time.zone.now.strftime(format)}#{Random.rand(10**suffix).to_i}"
    end
  end
end