2020-08-31 00:10:37 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class MergeRequestReviewer < ApplicationRecord
|
2021-10-25 09:12:21 +00:00
|
|
|
include MergeRequestReviewerState
|
2021-02-02 12:10:15 +00:00
|
|
|
|
2020-08-31 00:10:37 +00:00
|
|
|
belongs_to :merge_request
|
2020-11-23 18:09:14 +00:00
|
|
|
belongs_to :reviewer, class_name: 'User', foreign_key: :user_id, inverse_of: :merge_request_reviewers
|
2020-08-31 00:10:37 +00:00
|
|
|
end
|