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
Matthew Dillon 21e0e6c624 Linting
2015-11-12 05:54:18 -07:00

16 lines
567 B
JavaScript

import DS from 'ember-data';
const { Model, attr, hasMany } = DS;
export default Model.extend({
characteristicName : attr('string'),
characteristicTypeName: attr('string'),
strains : hasMany('strain', { async: false }),
measurements : hasMany('measurements', { async: false }),
createdAt : attr('date'),
updatedAt : attr('date'),
createdBy : attr('number'),
updatedBy : attr('number'),
sortOrder : attr('number'),
canEdit : attr('boolean'),
});