mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-11 22:24:21 +01:00
10 lines
425 B
Ruby
10 lines
425 B
Ruby
# frozen_string_literal: true
|
|
|
|
# An admin can mark an uploaded document as refused, this will notify the member
|
|
class SupportingDocumentRefusal < ApplicationRecord
|
|
belongs_to :user
|
|
belongs_to :operator, class_name: 'User', inverse_of: :supporting_document_refusals
|
|
has_many :supporting_document_refusals_types, dependent: :destroy
|
|
has_many :supporting_document_types, through: :supporting_document_refusals_types
|
|
end
|