Add push buttons and support inactive products
This commit is contained in:
@@ -4,6 +4,7 @@ App.Product = DS.Model.extend
|
||||
price: attr 'number'
|
||||
description: attr 'string'
|
||||
position: attr('number', defaultValue: 0)
|
||||
active: attr 'boolean', defaultValue: true
|
||||
image: attr()
|
||||
product_category: DS.belongsTo('product_category')
|
||||
product_orders: DS.hasMany('product_order')
|
||||
|
||||
Reference in New Issue
Block a user