mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
9 lines
174 B
Ruby
9 lines
174 B
Ruby
class BoothRequest < ActiveRecord::Base
|
|
belongs_to :booth
|
|
belongs_to :user
|
|
|
|
validates :role,
|
|
presence: true
|
|
|
|
ROLES = %w[submitter responsible].freeze
|
|
end
|