mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 11:44:02 +00:00
11 lines
204 B
Ruby
11 lines
204 B
Ruby
# frozen_string_literal: true
|
|
|
|
class BoothRequest < ApplicationRecord
|
|
belongs_to :booth
|
|
belongs_to :user
|
|
|
|
validates :role,
|
|
presence: true
|
|
|
|
ROLES = %w[submitter responsible].freeze
|
|
end
|