2020-06-23 00:09:42 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module AlertManagement
|
|
|
|
class AlertUserMention < UserMention
|
2023-05-27 22:25:52 +05:30
|
|
|
belongs_to :alert, class_name: '::AlertManagement::Alert',
|
|
|
|
foreign_key: :alert_management_alert_id,
|
|
|
|
inverse_of: :user_mentions
|
|
|
|
|
2020-06-23 00:09:42 +05:30
|
|
|
belongs_to :note
|
|
|
|
end
|
|
|
|
end
|