osem-fcy/app/models/booth_request.rb

11 lines
192 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class BoothRequest < ApplicationRecord
2017-05-17 13:31:27 +03:00
belongs_to :booth
belongs_to :user
2019-03-26 21:03:23 +01:00
validates :role, presence: true
2017-05-17 13:31:27 +03:00
ROLES = %w[submitter responsible].freeze
end