mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
9 lines
240 B
Ruby
9 lines
240 B
Ruby
# frozen_string_literal: true
|
|
|
|
class EventUser < ApplicationRecord
|
|
# TODO: Do we need these roles?
|
|
ROLES = [%w[Speaker speaker], %w[Submitter submitter], %w[Moderator moderator]]
|
|
|
|
belongs_to :event, touch: true
|
|
belongs_to :user
|
|
end
|