mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-06 01:08:21 +01:00
model documentation
This commit is contained in:
parent
20e91ede4e
commit
402be18bdf
@ -1,3 +1,5 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
# Invoice correspond to a single purchase made by an user. This purchase may
|
# Invoice correspond to a single purchase made by an user. This purchase may
|
||||||
# include reservation(s) and/or a subscription
|
# include reservation(s) and/or a subscription
|
||||||
class Invoice < ActiveRecord::Base
|
class Invoice < ActiveRecord::Base
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
# A single line inside an invoice. Can be a subscription or a reservation
|
||||||
class InvoiceItem < ActiveRecord::Base
|
class InvoiceItem < ActiveRecord::Base
|
||||||
belongs_to :invoice
|
belongs_to :invoice
|
||||||
belongs_to :subscription
|
belongs_to :subscription
|
||||||
|
Loading…
x
Reference in New Issue
Block a user