module Legacy
  class User < ApplicationRecord
    belongs_to :title, optional: true
    has_one :title_provider_group_name, through: :title
    has_one :billing_information
    has_many :title_provider_groups, through: :title_provider_group_name

    accepts_nested_attributes_for :title, :billing_information
  end
end
