6 lines
151 B
CoffeeScript
6 lines
151 B
CoffeeScript
attr = DS.attr
|
|
App.ProductVariant = DS.Model.extend
|
|
name: attr 'string'
|
|
product: DS.belongsTo 'product'
|
|
position: attr 'number', defaultValue: 0
|