Sha256: eb99bfff82ac95dc5ce8f88b8af9f4112bed93bf3dba959adc7c10596a7593dc

Contents?: true

Size: 303 Bytes

Versions: 3

Compression:

Stored size: 303 Bytes

Contents

# frozen_string_literal: true

class Country < ApplicationRecord
  has_many :employees, class_name: 'Namespaced::Person', inverse_of: :country_of_service
  has_many :residents, class_name: 'Namespaced::Person', inverse_of: :country_of_residence

  global_registry_bindings ensure_entity_type: false
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
global-registry-bindings-0.1.2 spec/internal/app/models/country.rb
global-registry-bindings-0.1.1 spec/internal/app/models/country.rb
global-registry-bindings-0.1.0 spec/internal/app/models/country.rb