1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00
fab-manager/app/models/invoicing_profile.rb

7 lines
210 B
Ruby
Raw Normal View History

2019-05-21 16:07:40 +02:00
class InvoicingProfile < ActiveRecord::Base
belongs_to :user
has_one :address, as: :placeable, dependent: :destroy
has_one :organization, dependent: :destroy
has_many :invoices, dependent: :destroy
2019-05-21 16:07:40 +02:00
end