Roughing in users resource
This commit is contained in:
parent
3f0b074619
commit
5048fb7695
11 changed files with 154 additions and 2 deletions
10
app/models/user.js
Normal file
10
app/models/user.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
import DS from 'ember-data';
|
||||
|
||||
export default DS.Model.extend({
|
||||
email: DS.attr('string'),
|
||||
name: DS.attr('string'),
|
||||
role: DS.attr('string'),
|
||||
createdAt: DS.attr('date'),
|
||||
updatedAt: DS.attr('date'),
|
||||
deletedAt: DS.attr('date')
|
||||
});
|
Reference in a new issue