ccdb-web/app/models/collection-species.js
2017-11-19 17:15:47 -07:00

12 lines
283 B
JavaScript

import DS from 'ember-data';
const { Model, attr, belongsTo } = DS;
export default Model.extend({
sex: attr('string'),
count: attr('number'),
countEstimated: attr('boolean'),
collection: belongsTo('collection'),
species: belongsTo('species'),
});