This repository has been archived on 2025-03-30. You can view files and clone it, but cannot push or open issues or pull requests.
hymenobacterdotinfo/app/models/characteristic.js
2015-02-03 12:32:46 -09:00

11 lines
309 B
JavaScript

import DS from 'ember-data';
import Ember from 'ember';
export default DS.Model.extend({
characteristicName: DS.attr(),
characteristicTypeId: DS.attr(),
measurements: DS.hasMany('measurement', {async: true}),
createdAt: DS.attr('date'),
updatedAt: DS.attr('date'),
deletedAt: DS.attr('date')
});