invoice_keeper/app/models/product.rb

6 lines
104 B
Ruby

class Product < ApplicationRecord
belongs_to :vat
belongs_to :user
has_many :invoice_products
end