1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-29 18:52:22 +01:00

model documentation

This commit is contained in:
Sylvain 2019-03-13 16:49:03 +01:00
parent 20e91ede4e
commit 402be18bdf
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,5 @@
# frozen_string_literal: true
# Invoice correspond to a single purchase made by an user. This purchase may
# include reservation(s) and/or a subscription
class Invoice < ActiveRecord::Base

View File

@ -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
belongs_to :invoice
belongs_to :subscription