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/strain.js
2015-03-19 13:12:29 -08:00

16 lines
498 B
JavaScript

import DS from 'ember-data';
export default DS.Model.extend({
measurements: DS.hasMany('measurements', { async: true }),
speciesName: DS.attr('string'),
strainName: DS.attr('string'),
strainType: DS.attr('string'),
etymology: DS.attr('string'),
accessionBanks: DS.attr('string'),
genbankEmblDdb: DS.attr('string'),
isolatedFrom: DS.attr('string'),
createdAt: DS.attr('date'),
updatedAt: DS.attr('date'),
deletedAt: DS.attr('date'),
totalMeasurements: DS.attr('number')
});