class <%= class_name %>::<%= scenario.classify %>::Collection < RecordCollection::Base
  include WorkflowStepCollection

  <%- attributes.each do |attribute| -%>
    <%- if attribute.boolean? -%>
  attribute :<%= attribute %>, type: Boolean
    <%- elsif %w[window_from window_to].include?(attribute.name) -%>
  attribute :<%= attribute %>
    <%- elsif attribute.integer? -%>
  attribute :<%= attribute %>, type: Integer
    <%- elsif attribute.float? -%>
  attribute :<%= attribute %>, type: Float
    <%- else -%>
  attribute :<%= attribute %>
    <%- end -%>
  <%- end -%>
end

