module Legacy
  class TitleProviderGroup < ApplicationRecord
    belongs_to :title_provider_group_name
    belongs_to :provider
    has_many :authorizations, dependent: :destroy

    accepts_nested_attributes_for :authorizations, allow_destroy: true
  end
end
