# == Schema Information
#
# Table name: groups
#
#  id         :integer          not null, primary key
#  routine_id :integer
#  order      :integer          default(1)
#  times      :integer          default(1)
#  created_at :datetime         not null
#  updated_at :datetime         not null
#

class GroupSerializer < ActiveModel::Serializer
  has_many :intervals

  attributes :id, :order, :times
end
