mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 11:38:30 +02:00
6 lines
203 B
Ruby
6 lines
203 B
Ruby
class Invoice < ActiveRecord::Base
|
|
belongs_to :seller, class_name: 'Registrar'
|
|
belongs_to :buyer, class_name: 'Registrar'
|
|
has_many :invoice_items
|
|
accepts_nested_attributes_for :invoice_items
|
|
end
|