foodsoft/app/models/group_order_article_quantity.rb

9 lines
314 B
Ruby
Raw Normal View History

2009-01-06 11:49:19 +01:00
# stores the quantity, tolerance and timestamp of an GroupOrderArticle
# Considers every update of an article-order, so may rows for one group_order_article ar possible.
class GroupOrderArticleQuantity < ApplicationRecord
2009-01-06 11:49:19 +01:00
belongs_to :group_order_article
validates :group_order_article_id, presence: true
2009-01-06 11:49:19 +01:00
end