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