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