class BoardProposal < ApplicationRecord
  belongs_to :board
  belongs_to :proposer, class_name: "Participant",
             foreign_key: "proposer_participant_id"

  enum :status, { pending: "pending", accepted: "accepted", rejected: "rejected" }

  validates :body, presence: true
end
