Setup of product variants
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
class ProductVariant
|
||||
include SimplyStored::Couch
|
||||
include ActiveModel::SerializerSupport
|
||||
property :name
|
||||
property :position, type: Fixnum, default: 0
|
||||
belongs_to :product
|
||||
end
|
||||
Reference in New Issue
Block a user