osem-fcy/app/serializers/track_serializer.rb
2021-02-20 09:57:27 -08:00

33 lines
1 KiB
Ruby

# frozen_string_literal: true
# == Schema Information
#
# Table name: tracks
#
# id :bigint not null, primary key
# cfp_active :boolean not null
# color :string
# description :text
# end_date :date
# guid :string not null
# name :string not null
# relevance :text
# short_name :string not null
# start_date :date
# state :string default("new"), not null
# created_at :datetime
# updated_at :datetime
# program_id :integer
# room_id :integer
# selected_schedule_id :integer
# submitter_id :integer
#
# Indexes
#
# index_tracks_on_room_id (room_id)
# index_tracks_on_selected_schedule_id (selected_schedule_id)
# index_tracks_on_submitter_id (submitter_id)
#
class TrackSerializer < ActiveModel::Serializer
attributes :guid, :name, :color
end